Exemplo n.º 1
0
        public List <FundSourceDto> GetAll()
        {
            List <uspFundSourceGetAll_Result> lstuspFundSourceGetAll_Result = _dbContext.uspFundSourceGetAll().ToList();
            List <FundSourceDto> LstFundSourceDto = new List <FundSourceDto>();

            foreach (var fundsource in lstuspFundSourceGetAll_Result)
            {
                LstFundSourceDto.Add(Mapper.Map <uspFundSourceGetAll_Result, FundSourceDto>(fundsource));
            }
            return(LstFundSourceDto);
        }