public ActionResult EditBrochure(Brochure model) { _brochureService.AddOrUpdate(model); this.SuccessNotification("Updated"); return RedirectToAction("ManageBrochure"); }
public static Brochure ToEntity(this BrochureItem model, Brochure destination) { return Mapper.Map(model, destination); }