public MenuCreateResponse Create(MenuCreateRequest request) { return(Execute <MenuCreateRequest, MenuCreateResponse>( request, response => { response.Menu = _menuFacade.Create(request.Menu); } )); }
public JsonResult Create(MenuModel model) { _menuFacade.Create(model); return(Json(new { success = true })); }