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