예제 #1
0
 public bool Execute(DeleteTemplateCommandRequest request)
 {
     return(layoutService.DeleteLayout(request.TemplateId, request.Version));
 }
예제 #2
0
 public IActionResult Delete(string layoutName)
 {
     _layoutService.DeleteLayout(layoutName);
     return(RedirectToAction("Index"));
 }
예제 #3
0
 public ActionResult DeleteConfirmed(int id)
 {
     _layoutService.DeleteLayout(id);
     return(RedirectToAction("Index"));
 }