public static DataTable GetReport(DateTime reportDate) { try { MeetingReportServiceClient client = new MeetingReportServiceClient(); DataSet ds = client.GetReportByDate(reportDate); return(ds.Tables[0]); } catch (Exception ex) { throw ex; } }
public static long SubmitReport(DateTime submitDate, int categoryId, string keywords, string content) { try { MeetingReportServiceClient client = new MeetingReportServiceClient(); long newId = client.SubmitReport(submitDate, categoryId, keywords, content); return(newId); } catch (Exception ex) { throw ex; } }
public static string GetTitle() { try { MeetingReportServiceClient client = new MeetingReportServiceClient(); string title = client.GetReportTitle(); return(title); } catch (Exception ex) { throw ex; } }
public static DataTable GetCategory() { try { MeetingReportServiceClient client = new MeetingReportServiceClient(); DataSet ds = client.GetCategoryList(); return(ds.Tables[0]); } catch (Exception ex) { throw ex; } }
public static DataTable GetContent(DateTime reportDate, int categoryId) { try { MeetingReportServiceClient client = new MeetingReportServiceClient(); DataSet ds = client.GetContentByCategory(reportDate, categoryId); return(ds.Tables[0]); } catch (Exception ex) { throw ex; } }
public static DataTable GetSearchResult(DateTime startDate, DateTime endDate, string keyword) { try { MeetingReportServiceClient client = new MeetingReportServiceClient(); DataSet ds = client.GetSearchResult(startDate, endDate, keyword); return(ds.Tables[0]); } catch (Exception ex) { throw ex; } }