Beispiel #1
0
        public async Task <ActionResult <IndividualModel[]> > Get(int pageIndex = 1, int pageSize = 25)
        {
            var results = await _repository.GetAllIndividualsAsync(pageIndex, pageSize);

            return(Ok(_mapper.Map <IndividualModel[]>(results)));
        }