public bool ManageUsers(UserProfiles userProfiles) { try { bool status = ControlPanelWriteHelper.ManageUsers(userProfiles); return(status); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "ManageUsers failed with exception", ex); throw; } }
public bool SetStages(DataViewSetupInfo stages) { try { bool status = ControlPanelWriteHelper.SetStages(stages); return(status); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "set Stages failed with exception", ex); throw; } }
public bool SetDesignation(Designations designations) { try { bool status = ControlPanelWriteHelper.SetDesignations(designations); return(status); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "SetDesignation failed with exception", ex); throw; } }
public bool SetTeams(WFComponents wFComponents) { try { bool status = ControlPanelWriteHelper.SetTeamMaster(wFComponents); return(status); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "Set Teams failed with exception", ex); throw; } }
public bool SetCategory(Categories categories) { try { bool status = ControlPanelWriteHelper.SetCategory(categories); return(status); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "SetCategory failed with exception", ex); throw; } }
public bool SetMenuAccessRights(MenuAccessRights menuAccessRights) { bool result; try { result = ControlPanelWriteHelper.SetDesignationAccessRights(menuAccessRights); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "DesignationAccessRights failed with exception", ex); throw; } return(result); }
public bool SetCountry(Countries countries) { bool result = false; try { result = ControlPanelWriteHelper.SetCountry(countries); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "SetCountry failed with exception", ex); throw; } return(result); }
public bool SetMaterials(Materials materials) { bool result; try { result = ControlPanelWriteHelper.SetMaterials(materials); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "SetMaterials failed with exception", ex); throw; } return(result); }
public bool SetUom(Units units) { bool result; try { result = ControlPanelWriteHelper.SetUomDetails(units); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "SetUOM failed with exception", ex); throw; } return(result); }
public bool SetLocation(Locations locations) { bool result; try { result = ControlPanelWriteHelper.SetLocations(locations); } catch (Exception ex) { EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "SetResource failed with exception", ex); throw; } return(result); }