public ActionResult Index() { ProfitsModel model = new ProfitsModel(); model.Cards = RepositoryUnits.Instance().CardsRepository.Select(User.Identity.GetUserId()); model.Profit = RepositoryUnits.Instance().ProfitRepository.Select(User.Identity.GetUserId()); return(View(model)); }
public ActionResult Cards() { List <CardsModel> model = RepositoryUnits.Instance().CardsRepository.Select(User.Identity.GetUserId()); return(View(model)); }
public ActionResult Profit() { List <ProfitModel> model = RepositoryUnits.Instance().ProfitRepository.Select(User.Identity.GetUserId()); return(View(model)); }