Example #1
0
 public async Task <IActionResult> Get([FromQuery] GridRequest request)
 {
     if (request.IsDirty)
     {
         return(Ok(await _projetoService.ObterDadosGrid(request)));
     }
     return(Ok(await _projetoService.ObterDadosGrid()));
 }
        public IActionResult Get()
        {
            var x = _projetoService.ObterDadosGrid(null).Result;

            return(Ok(x));
        }