示例#1
0
        public List <MdlADDRESSS> GetAddressesofOrgnaizationUsingFileNo(string fileNo)
        {
            var query = _dbFirms.usp_GetAddressesofOrgnaizationUsingFileNo(fileNo, true);

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

            foreach (var item1 in query)
            {
                list.Add(new MdlADDRESSS()
                {
                    OrgRegNo      = item1.OrgRegNo,
                    AdressType_ID = item1.AdressType_ID,
                    AdressDetails = item1.AdressDetails
                });
            }

            return(list);
        }