コード例 #1
0
 public ActionResult EditBrochure(Brochure model)
 {
     _brochureService.AddOrUpdate(model);
     this.SuccessNotification("Updated");
     return RedirectToAction("ManageBrochure");
 }
コード例 #2
0
 public static Brochure ToEntity(this BrochureItem model, Brochure destination)
 {
     return Mapper.Map(model, destination);
 }