コード例 #1
0
        public ActionResult Index()
        {
            Card currentUser = _cardsService.GetAllCardInfo(_cardsService.CurrentCardNumber);

            List <Operations> operations = _cardsService.GetAllCardOperations(_cardsService.CurrentCardNumber);

            return(View(new CardOperationViewModel()
            {
                Card = currentUser, Operations = operations
            }));
        }