Example #1
0
        public static List <CDemoDataWithoutOption> GetDemoDataWithoutOptionFromSP(string assurList, string parentCompanyList, string companyList,
                                                                                   string contractList, DateTime debutPeriode, DateTime finPeriode)
        {
            try
            {
                List <CDemoDataWithoutOption> demoData;

                using (var context = new CompteResultatEntities())
                {
                    demoData = context.SPGetDemoDataWithoutOption(assurList, parentCompanyList, companyList, contractList, debutPeriode, finPeriode).ToList();
                }

                return(demoData);
            }
            catch (Exception ex)
            {
                log.Error(ex.Message);
                throw ex;
            }
        }