public bool PostUpdateUserPermissions(Guid userId, [FromBody] string newPerms) { return(BLAuthenticationProvider.UpdateUserPermissions(userId, newPerms)); }
public bool PostDeleteUser([FromBody] Guid userId) { return(BLAuthenticationProvider.DeleteUser(userId)); }
public CommonUser GetLogin(string username, string password) { return(BLAuthenticationProvider.Login(username, password)); }
public List <CommonUser> GetAllUsers(Guid ownerId) { return(BLAuthenticationProvider.GetAllUsers(ownerId)); }
public bool PostEditUser([FromBody] CommonUser user) { return(BLAuthenticationProvider.UpdateUser(user)); }