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