public Clinic(DBConnectionLogic.SurgeryModel.Clinic c) { Address = c.Address; Name = c.Name; }
public void AddDoctor(string _name, string _surname, List <VisitTime> _visitTime, DBConnectionLogic.SurgeryModel.Clinic _clinic, Specialization _specialization, int?_visitPrice, string _licenceNumber) { __doctors.Add(new DBConnectionLogic.SurgeryModel.Doctor() { Name = _name, Surname = _surname, VisitTime = _visitTime, Clinic = _clinic, Specialization = _specialization, VisitPrice = _visitPrice, LicenceNumber = _licenceNumber }); }