public ActionResult Index() { string currentUserId = HttpContext.User.Identity.GetUserId(); var SubscriptionList = _subscriptionRepo.Get(x => x.CreatedBy == currentUserId); return(View(SubscriptionList)); }