Esempio n. 1
0
        public async Task <IActionResult> GetAudits()
        {
            var audits = await _repo.GetAudits();

            var auditsToReturn = _mapper.Map <IEnumerable <AuditForReturnDto> >(audits);

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

            return(Ok(auditsToReturn));
        }