コード例 #1
0
        public List <SelectListDto> GetAHCodeByIsMemberTransaction()
        {
            List <SelectListDto> lstSelectListDto = new List <SelectListDto>();
            List <uspAccountGetAHCODEByIsmemberTransaction_Result> lstuspAccountGetAHCODEByIsmemberTransaction_Result = _dbContext.uspAccountGetAHCODEByIsmemberTransaction().ToList();

            foreach (var ahcode in lstuspAccountGetAHCODEByIsmemberTransaction_Result)
            {
                SelectListDto objSelectListDto = new SelectListDto()
                {
                    ID   = ahcode.AHID,
                    Text = ahcode.AHCode
                };
                lstSelectListDto.Add(objSelectListDto);
            }
            return(lstSelectListDto);
        }