예제 #1
0
 //修改关注
 public ActionResult Edit(Guid id)
 {
     _iProjectUserService.Follow(id, _iUserInfo.UserId);
     _unitOfWork.Commit();
     return(Content("True"));
 }
 //修改关注
 public ActionResult Edit(Guid id, int pageIndex = 1)
 {
     _iProjectUserService.Follow(id, _iUserInfo.UserId);
     _unitOfWork.Commit();
     return(RedirectToAction("Index", new { pageIndex }));
 }