public ActionResult Edit(Guid id, Entities.Promotion p) { try { // TODO: Add update logic here return RedirectToAction("Index"); } catch { return View(); } }
public PromoCreateModel(AccountBase accountBase, Guid businessId, ModelEntities.Promotion promotion) { this.AccountBase = accountBase; this.BusinessId = businessId; this.Promotion = promotion; }
public BusinessCreateEditModel(AccountBase accountBase, ModelEntities.Business business, Role role) { this.AccountBase = accountBase; this.Business = business; this.Role = role; }