You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SAE-2.01/MCTG/Model/Managers/IUserManager.cs

23 lines
653 B

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<User> 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();
}
}