public IActionResult GetBySize(int id) { var view = new SizesAllViewModel { CiagrWithSpesificShape = this.cigarService.CiagrWithSpesificShape(id), }; return(this.View(view)); }
public IActionResult All() { var view = new SizesAllViewModel { ShapeAndSizeViewModel = this.sizeService.GetAllShapesAndSizes(), }; return(this.View(view)); }