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.OtherBusinessReportComponent uc = new Business.OtherBusinessReportComponent(); var ds = uc.GetOtherBusinessReport(HotelId, mYear, mMonth); ds.AddCacheData(HotelId, mYear, mMonth); } return Helper.GetCacheData(HotelId, mYear, mMonth); } else { JMReports.Business.OtherBusinessReportComponent uc = new Business.OtherBusinessReportComponent(); return uc.GetOtherBusinessReport(HotelId, mYear, mMonth); } }
public System.Data.DataSet getReport(string HotelId, string mYear, string mMonth) { JMReports.Business.OtherBusinessReportComponent uc = new Business.OtherBusinessReportComponent(); return uc.GetOtherBusinessReport(HotelId, mYear, mMonth); }