コード例 #1
0
 public bool PostUpdateUserPermissions(Guid userId, [FromBody] string newPerms)
 {
     return(BLAuthenticationProvider.UpdateUserPermissions(userId, newPerms));
 }
コード例 #2
0
 public bool PostDeleteUser([FromBody] Guid userId)
 {
     return(BLAuthenticationProvider.DeleteUser(userId));
 }
コード例 #3
0
 public CommonUser GetLogin(string username, string password)
 {
     return(BLAuthenticationProvider.Login(username, password));
 }
コード例 #4
0
 public List <CommonUser> GetAllUsers(Guid ownerId)
 {
     return(BLAuthenticationProvider.GetAllUsers(ownerId));
 }
コード例 #5
0
 public bool PostEditUser([FromBody] CommonUser user)
 {
     return(BLAuthenticationProvider.UpdateUser(user));
 }