public List <ContraEntryWithDrawlLookupDto> FederationContraEntryWithDrawlLookup() { List <ContraEntryWithDrawlLookupDto> lstFederationContraEntryWithDrawlLookupDto = new List <ContraEntryWithDrawlLookupDto>(); List <uspFederationContraEntryWithDrawlLookup_Result> objFederationContraEntryWithDrawlLookup_Result = _dbContext.uspFederationContraEntryWithDrawlLookup().ToList(); foreach (var contraEntryWithDrawlLokup in objFederationContraEntryWithDrawlLookup_Result) { ContraEntryWithDrawlLookupDto contraEntryWithDrawlLookupDto = Mapper.Map <uspFederationContraEntryWithDrawlLookup_Result, ContraEntryWithDrawlLookupDto>(contraEntryWithDrawlLokup); lstFederationContraEntryWithDrawlLookupDto.Add(contraEntryWithDrawlLookupDto); } return(lstFederationContraEntryWithDrawlLookupDto); }