예제 #1
0
 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>();
 }
예제 #2
0
 /// <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;
 }
예제 #3
0
 public Administrator(string Parola, string Nume, string Prenume, string Mail, HighSchool ScoalaDeProvenienta) :
     base(Parola, Nume, Prenume, Mail, ScoalaDeProvenienta)
 {
     this.Role = ADMIN_ROLE;
 }
예제 #4
0
 public Teacher(string parola, string nume, string prenume, string mail, HighSchool scoalaDeProvenienta) :
     base(parola, nume, prenume, mail, scoalaDeProvenienta)
 {
     Role    = ProfesorRole;
     Materii = new List <Course>();
 }