Exemplo n.º 1
0
 public IActionResult Get([FromQuery] ApiResultFilter filter)
 {
     return(new JsonResult(new OrderService().GetItems(null, filter).Coalesce()));
 }
Exemplo n.º 2
0
 public IActionResult Get(string person, [FromQuery] ApiResultFilter filter)
 {
     return(new JsonResult(new OrderService().GetItems(person, filter)));
 }
Exemplo n.º 3
0
 public IActionResult GetMenuItems([FromQuery] ApiResultFilter filter)
 {
     return(new JsonResult(new MenuService().GetItems(filter)));
 }