Exemplo n.º 1
0
        public async Task <IActionResult> FilterByNameInfiniteScroll(string name, int page, int elements)
        {
            var response = await _service.FilterByNameInfiniteScroll(name, page, elements);

            if (response == null)
            {
                return(NoContent());
            }

            return(Ok(ToDTO(response)));
        }