Example #1
0
 public static Object getMyServiceHis(string CI_Code)
 {
     CRMTree.Model.CT_History_Service historyService = new CRMTree.Model.CT_History_Service();
     historyService.HS_CI_Code = int.Parse(CI_Code);
     historyService.HS_AU_Code = userCode;
     CRMTree.BLL.BL_ServerHistory myServerHistory = new CRMTree.BLL.BL_ServerHistory();
     CRMTree.Model.ServerHistory.MD_ServerHistory serverHistory = myServerHistory.getMyServiceHis(historyService);
     return(serverHistory);
 }
Example #2
0
 public static Object getMyServiceHisSearch(string CI_Code, string BeginDate, string EndDate)
 {
     CRMTree.Model.CT_History_Service historyService = new CRMTree.Model.CT_History_Service();
     historyService.HS_CI_Code = int.Parse(CI_Code);
     historyService.HS_AU_Code = userCode;
     historyService.BeginDate  = Convert.ToDateTime(BeginDate);
     historyService.EndDate    = Convert.ToDateTime(EndDate);
     CRMTree.BLL.BL_ServerHistory myServerHistory = new CRMTree.BLL.BL_ServerHistory();
     CRMTree.Model.ServerHistory.MD_ServerHistory serverHistory = myServerHistory.getMyServiceHis(historyService);
     return(serverHistory);
 }