예제 #1
0
        public async Task <IActionResult> Index(PersonRequest request)
        {
            var persons = await _personsService.GetPeopleAsync(request);

            return(this.PageObject(persons.Values, persons.TotalRows, request.Limit, request.Offset));
        }