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); }
public static DataTable GetParentGroups() { try { Business.ServiceGroup serviceGroupController = new Business.ServiceGroup(); return(serviceGroupController.GetParentGroups()); } catch { return(new DataTable()); } }
public static DataTable GetUserGroupsWithServices(Guid userGuid) { Business.ServiceGroup serviceGroupController = new Business.ServiceGroup(); return(serviceGroupController.GetUserGroupsWithServices(userGuid)); }
public static bool Delete(Guid serviceGroupGuid) { Business.ServiceGroup serviceGroupController = new Business.ServiceGroup(); return(serviceGroupController.Delete(serviceGroupGuid)); }
public static bool UpdateServiceGroup(Common.ServiceGroup serviceGroup) { Business.ServiceGroup serviceGroupController = new Business.ServiceGroup(); return(serviceGroupController.UpdateServiceGroup(serviceGroup)); }
public static bool Insert(Common.ServiceGroup serviceGroup) { Business.ServiceGroup serviceGroupController = new Business.ServiceGroup(); return(serviceGroupController.Insert(serviceGroup) != Guid.Empty ? true : false); }
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)); }