using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { public interface IUserManager { User? CurrentConnected { get; } IPasswordManager PasswordManager { get; } ICollection GetAllUsers(); User GetUserFromMail(string mail); User CreateUser(string? name, string? surname, string mail, string password, string? profilePict); bool AddUserToData(User user); bool ModifyCurrentConnected(User newUser); bool LogIn(string mail, string password); void LogOut(); } }