public RoleDeleteReply RoleDelete(RoleDeleteRequest request) { try { RoleDeleteReply response = new RoleDeleteReply(); response.ResultStatus = _roles.DeleteRole(request.RoleName, request.ThrowOnPopulated); response.Status = ActionStatus.OK; return(response); } catch (Exception ex) { throw ex.NewFault(); } }
public bool DeleteRole(string applicationName, string roleName, bool throwOnPopulatedRole) { _Provider.ApplicationName = _ApplicationName; return(_Provider.DeleteRole(roleName, throwOnPopulatedRole)); }