Exemple #1
0
 public IActionResult CompletelyDeleteUser([FromBody] Token token)
 {
     if (UserManagementService.ValidateUserToken(token.access_token))
     {
         UserManagementService.CompletelyDeleteUser(token.access_token);
         return(Ok());
     }
     else
     {
         return(Unauthorized());
     }
 }