Exemplo n.º 1
0
        public async Task <ClaimsResponse> GetListAsync(ListDTO listDTO)
        {
            var response = new ClaimsResponse();

            try
            {
                response = await _claimsRepository.GetClaimListByPaging(listDTO);

                return(response.ToSuccess <ClaimsResponse>());
            }
            catch (Exception e)
            {
                throw new Exception(e.Message);
            }
        }