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