public ActionResult Add(int distributor) { var userId = User.Identity.GetUserId <int>(); var userName = User.Identity.GetUserName(); return(Json(_followService.Add(distributor, userId, userName))); }
public ActionResult Add(int distributor) { var userId = User.Identity.GetUserId <int>(); var userName = User.Identity.GetUserName(); return(Json(_followService.Add(distributor, userId, userName))); }