diff --git a/MCTG/Model/Managers/IUserManager.cs b/MCTG/Model/Managers/IUserManager.cs index c4c7195..9713ed5 100644 --- a/MCTG/Model/Managers/IUserManager.cs +++ b/MCTG/Model/Managers/IUserManager.cs @@ -48,13 +48,30 @@ namespace Model string? name = null, string? surname = null, string? profilePict = null); /// - /// + /// Add an user in the data. /// - /// - /// + /// The user to add. + /// True is the user was correctly added to the data. False otherwise. bool AddUserToData(User user); + + /// + /// Modify the currently connected user. + /// + /// An user containing new user's properties to changes. + /// bool ModifyCurrentConnected(User newUser); + + /// + /// Log in an user. If the connection succed, pass the connected user to . + /// + /// The User's mail. + /// The User's (plain text) password. + /// True if the connection succed, false otherwise. bool LogIn(string mail, string password); + + /// + /// Log out the current connected user. + /// void LogOut(); } }