예제 #1
0
        public List <MdlFirm> GetOrganizationNameUsingFileNo(string fileNo)
        {
            var query = _dbFirms.usp_GetOrganizationNameUsingFileNo(fileNo, true);

            List <MdlFirm> list = new List <MdlFirm>();

            foreach (var item1 in query)
            {
                list.Add(new MdlFirm()
                {
                    OrgRegNo = item1.FileNo,
                    OrgName  = item1.OrgName
                });
            }

            return(list);
        }