Exemplo n.º 1
0
        public List <CMSComplianceExcel> GetCMSComplianceExcel(SearchCMSCompliance searchParams)
        {
            var result = new List <CMSComplianceExcel>();

            using (var dbmEntityContainter = new DBMEdition01_Entities())
            {
                result = dbmEntityContainter.GetCMSComplianceExcel(int.Parse(searchParams.SelectedSiteIDs), int.Parse(searchParams.ProgramIDs), searchParams.ComplianceValueList,
                                                                   searchParams.SelectedCoPIDs, searchParams.SelectedTagIDs, searchParams.SelectedIdentifiedByIDs, searchParams.PlanOfCorrection,
                                                                   searchParams.OrgCMSFindings, searchParams.CMSSurveyorFindings, searchParams.LinkedDocs, searchParams.StartDate, searchParams.EndDate,
                                                                   searchParams.StandardEffBeginDate, searchParams.CertificationID, Convert.ToBoolean(searchParams.chkIncludeTJC)).ToList();
            }

            return(result);
        }