コード例 #1
0
 public ActionResult EditEdition(EditionEditViewModel edition)
 {
     Mapper.CreateMap<EditionEditViewModel, EditionEdit>();
     editorService.EditEdition(Mapper.Map<EditionEditViewModel, EditionEdit>(edition));
     return RedirectToAction("Index");
 }
コード例 #2
0
 public ActionResult DeleteEdition(EditionEditViewModel edition)
 {
     editorService.DeleteEdition(edition.EditionId);
     return RedirectToAction("Index");
 }