Exemplo n.º 1
0
        public async Task <ActionResult <ListResult <PersonDto> > > GetAll(string searchValue, int page = 1)
        {
            var result = await _service.GetAllAsync(searchValue, new Paging(page, _settings.PerPage));

            return(Ok(result));
        }