public Teacher(string parola, string nume, string prenume, string mail, HighSchool scoalaDeProvenienta, string imageUrl, string description) : base(parola, nume, prenume, mail, scoalaDeProvenienta) { Role = ProfesorRole; ImageUrl = imageUrl; Description = description; Materii = new List <Course>(); }
/// <summary> /// Constructor pentru User /// </summary> /// <param name="parola"></param> /// <param name="nume"></param> /// <param name="prenume"></param> /// <param name="mail"></param> /// <param name="scoalaDeProvenienta"></param> public User(string parola, string nume, string prenume, string mail, HighSchool scoalaDeProvenienta) { UserId = Guid.NewGuid(); Parola = parola; Nume = nume; Prenume = prenume; Mail = mail; ScoalaDeProvenientaId = scoalaDeProvenienta.HighSchoolId; }
public Administrator(string Parola, string Nume, string Prenume, string Mail, HighSchool ScoalaDeProvenienta) : base(Parola, Nume, Prenume, Mail, ScoalaDeProvenienta) { this.Role = ADMIN_ROLE; }
public Teacher(string parola, string nume, string prenume, string mail, HighSchool scoalaDeProvenienta) : base(parola, nume, prenume, mail, scoalaDeProvenienta) { Role = ProfesorRole; Materii = new List <Course>(); }