Beispiel #1
0
        public new ActionResult Profile(int id)
        {
            ViewBag.userId   = id;
            ViewBag.userName = _followService.GetDistributorName(id);
            var userId = User.Identity.GetUserId <int>();

            ViewBag.followed = userId != 0 && _followService.Exist(id, userId);
            return(PartialView());
        }