public IActionResult ViewPensionList(int id)
        {
            var response = reportRepo.GetPensionList(id);

            try
            {
                return(View(response.Data));
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }
Exemplo n.º 2
0
        public IActionResult ListPensions(PensionId pension)
        {
            List <PensionListItem> response = (_repoRepository.GetPensionList(pension.agencyId).Data);

            return(View(response));
        }