public IActionResult AllTastes() { var viewModel = new TastesLists { TastsLists = this.tastesService.AllTastes <TastesViewModel>(), }; return(this.View(viewModel)); }
public IActionResult ShowCigarWithTaste(int id) { var viewOutput = new TastesLists { Cigars = this.cigarService.CigaraWithTaste(id), CurrentTaste = this.tastesService.CurrentTaste(id), }; return(this.View(viewOutput)); }