Ejemplo n.º 1
0
 public Patient(string name, uint id, string email, Constants.Speciality type)
 {
     this.name  = name;
     this.iD    = id;
     this.email = email;
     this.type  = type;
 }
Ejemplo n.º 2
0
 public Doctor(string name, uint id, string email, Constants.Speciality speciality)
 {
     //Inatlizing a new doctor
     this.name             = name;
     this.iD               = id;
     this.email            = email;
     this.type             = speciality;
     this.patientAssigened = new List <uint>();
 }
Ejemplo n.º 3
0
 public Patient CreatePatient(string name, uint id, string email, Constants.Speciality type)
 {
     return(new Patient(name, id, email, type));
 }
Ejemplo n.º 4
0
 public Doctor CreateDoctor(string name, uint id, string email, Constants.Speciality speciality)
 {
     return(new Doctor(name, id, email, speciality));
 }