예제 #1
0
 public static Common.ServiceGroup LoadServiceGroup(Guid ServiceGroupGuid)
 {
     Business.ServiceGroup serviceGroupController = new Business.ServiceGroup();
     Common.ServiceGroup   serviceGroup           = new Common.ServiceGroup();
     serviceGroupController.Load(ServiceGroupGuid, serviceGroup);
     return(serviceGroup);
 }
예제 #2
0
 public static DataTable GetParentGroups()
 {
     try
     {
         Business.ServiceGroup serviceGroupController = new Business.ServiceGroup();
         return(serviceGroupController.GetParentGroups());
     }
     catch
     {
         return(new DataTable());
     }
 }
예제 #3
0
 public static DataTable GetUserGroupsWithServices(Guid userGuid)
 {
     Business.ServiceGroup serviceGroupController = new Business.ServiceGroup();
     return(serviceGroupController.GetUserGroupsWithServices(userGuid));
 }
예제 #4
0
 public static bool Delete(Guid serviceGroupGuid)
 {
     Business.ServiceGroup serviceGroupController = new Business.ServiceGroup();
     return(serviceGroupController.Delete(serviceGroupGuid));
 }
예제 #5
0
 public static bool UpdateServiceGroup(Common.ServiceGroup serviceGroup)
 {
     Business.ServiceGroup serviceGroupController = new Business.ServiceGroup();
     return(serviceGroupController.UpdateServiceGroup(serviceGroup));
 }
예제 #6
0
 public static bool Insert(Common.ServiceGroup serviceGroup)
 {
     Business.ServiceGroup serviceGroupController = new Business.ServiceGroup();
     return(serviceGroupController.Insert(serviceGroup) != Guid.Empty ? true : false);
 }
예제 #7
0
 public static DataTable GetPagedServiceGroup(string title, string sortField, int pageNo, int pageSize, ref int rowCount)
 {
     Business.ServiceGroup serviceGroupController = new Business.ServiceGroup();
     return(serviceGroupController.GetPagedServiceGroup(title, sortField, pageNo, pageSize, ref rowCount));
 }