public async Task <IEnumerable <GetPolicyViewModel> > FetchAllPolicyAsync() { var policyList = await _policyRepository.FetchListAsync(); var policyViewModelList = new List <GetPolicyViewModel>(); policyList.ToList().ForEach(policy => { var policyViewModel = _mapper.Map <GetPolicyViewModel>(policy); policyViewModelList.Add(policyViewModel); }); return(policyViewModelList); }