public IActionResult ShowAllStrenghts() { var viewModel = new StrenghtsList { StrenghtsLists = this.strenghtsService.AllStrenghts <StrnghtsViewModel>(), }; return(this.View(viewModel)); }
public IActionResult ShowCigarWithStrength(int id) { var viewOutput = new StrenghtsList { Cigars = this.cigarService.CigaraWithStrenght(id), CurrentStreght = this.strenghtsService.CurrentStrenght(id), }; return(this.View(viewOutput)); }