private PizzaListingModel BuildModel(OrderedPizza orderedPizza) { var sizes = _sizeService.GetAll(); var depths = _depthService.GetAll(); var toppings = _toppingService.GetAll(); var model = new PizzaListingModel { Sizes = sizes, Depths = depths, Toppings = toppings, CustomerPizza = orderedPizza }; return(model); }
public static List <Food_Size> GetAll() { return(size_act.GetAll()); }