Example #1
0
        public async Task <IActionResult> GetFindings()
        {
            var findings = await _repo.GetFindings();

            var findingsToReturn = _mapper.Map <IEnumerable <FindingForReturnDto> >(findings);

/*             Response.AddPagination(customers.CurrentPage, customers.PageSize,
 *              customers.TotalCount, customers.TotalPages); */

            return(Ok(findingsToReturn));
        }