public ActionResult Index() { Card currentUser = _cardsService.GetAllCardInfo(_cardsService.CurrentCardNumber); List <Operations> operations = _cardsService.GetAllCardOperations(_cardsService.CurrentCardNumber); return(View(new CardOperationViewModel() { Card = currentUser, Operations = operations })); }