public ActionResult Home(string id) { Guid? storeId = Migi.Framework.Helper.Types.GetNullableGuid(id); if (storeId.HasValue) { Models.Store.Store storeViewModel = new Models.Store.Store(_stores.GetStore(storeId.Value), _customers.GetCustomersForStore(storeId.Value)); return View(storeViewModel); } return new HttpNotFoundResult(); }
public ActionResult Home(string id) { Guid?storeId = Migi.Framework.Helper.Types.GetNullableGuid(id); if (storeId.HasValue) { Models.Store.Store storeViewModel = new Models.Store.Store(_stores.GetStore(storeId.Value), _customers.GetCustomersForStore(storeId.Value)); return(View(storeViewModel)); } return(new HttpNotFoundResult()); }