Esempio n. 1
0
        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));
        }
Esempio n. 2
0
        public ActionResult Cards()
        {
            List <CardsModel> model = RepositoryUnits.Instance().CardsRepository.Select(User.Identity.GetUserId());

            return(View(model));
        }
Esempio n. 3
0
        public ActionResult Profit()
        {
            List <ProfitModel> model = RepositoryUnits.Instance().ProfitRepository.Select(User.Identity.GetUserId());

            return(View(model));
        }