public IActionResult Index() { var model = new StoreViewModel(); model.StoreListString = _ctx.GetStores(); return(View("Store", model)); }
public IActionResult Get(OrderViewModel model) { MyUser.NameUser = model.UserName; model.Stores = _ctx.GetStores(); model.Crust = _ctx.GetCrust(); model.Size = _ctx.GetSize(); return(View("Order", model)); }