/// <summary> /// Creates the or update admin role. /// </summary> /// <param name="role">The role.</param> /// <returns>System.Nullable<Guid>.</returns> public Guid? CreateOrUpdateAdminRole(AdminRole role) { try { role.CheckNullObject("role"); using (var controller = new AdminRoleAccessController()) { return controller.CreateOrUpdateAdminRole(role, ContextHelper.GetCurrentOperatorKey()); } } catch (Exception ex) { throw ex.Handle( role); } }