public string Execute(int data) { AuthenticationManager.Athorize(); User currentUser = AuthenticationManager.GetCurrentUser(); AuthenticationManager.Logout(); return($"User {currentUser.Username} successfully logged out!"); }
public string Execute(int data) { AuthenticationManager.Athorize(); User currentUser = AuthenticationManager.GetCurrentUser(); AuthenticationManager.Logout(); return($"User {currentUser.Username} successfully logged out!"); }