コード例 #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));
        }
コード例 #2
0
        public ActionResult Cards()
        {
            List <CardsModel> model = RepositoryUnits.Instance().CardsRepository.Select(User.Identity.GetUserId());

            return(View(model));
        }
コード例 #3
0
        public ActionResult Profit()
        {
            List <ProfitModel> model = RepositoryUnits.Instance().ProfitRepository.Select(User.Identity.GetUserId());

            return(View(model));
        }