public Visitors(int group, string n, string sn, DocOffers doc) { this.AcademGroup = group; this.Name = n; this.Surname = sn; this.Offer = doc.Offer; }
public Visitors(int group, string n, string sn, DocOffers doc) { AcademGroup = group; Name = n; Surname = sn; offers = doc; }
//добавить посетителя public void Add(string name, string surname, int mon, DocOffers offers) => visitors.Add(new Visitors
//добавить посетителя public void Add(string n, string sn, int group, DocOffers doc) => visitors.Add(new Visitors