public System.Data.DataSet getReport(string HotelId, string mYear, string mMonth) { if (Helper.GetAppSetting<bool>(CONSTANT.USINGCACHESETTINGKEY)) { var cacheds = Helper.GetCacheData(HotelId, mYear, mMonth); if (cacheds == null) { JMReports.Business.UnallocateReportComponent rc = new Business.UnallocateReportComponent(); var ds = rc.GetUnallocateReport(HotelId, mYear, mMonth); ds.AddCacheData(HotelId, mYear, mMonth); } return Helper.GetCacheData(HotelId, mYear, mMonth); } else { JMReports.Business.UnallocateReportComponent uc = new Business.UnallocateReportComponent(); return uc.GetUnallocateReport(HotelId, mYear, mMonth); } }
public System.Data.DataSet getReport(string HotelId, string mYear, string mMonth) { JMReports.Business.UnallocateReportComponent uc = new Business.UnallocateReportComponent(); return uc.GetUnallocateReport(HotelId, mYear, mMonth); }