コード例 #1
0
        public List <MdlRenewalReport> GetAllRenewalReportsofOrgList(long orgid)
        {
            var query = _dbFirms.usp_GetOrgRenewalReports(orgid);
            List <MdlRenewalReport> list = new List <MdlRenewalReport>();

            foreach (var item in query)
            {
                list.Add(new MdlRenewalReport()
                {
                    RReportID         = item.RReportID,
                    RReportYear       = item.RReportYear,
                    IsAuthorityLetter = item.IsAuthorityLetter,
                    RRResolutionDate  = item.RRResolutionDate.Value,
                    EntryDate         = item.EntryDate
                });
            }
            return(list);
        }