public IActionResult Index() { _cardsService.CreateDefaultCard(_accounting.Cards); _cardsService.CreateDefaultDetails(_accounting); return(View(_accounting)); }
private void CreateDefaultCard(List <Card> emptyCard) { _cardsService.CreateDefaultCard(emptyCard); }