public MainDepartement(string Name, Director director, Deputy deputy, List <Employee> empl, List <SubDepartament> subDeps) : base(Name, subDeps, empl) { Director = director; Deputy = deputy; Employees.AddRange(new List <Employee> { Director, Deputy }); }
public MainDepartement(string name) : base(name) { Director = CreateDirector(); Deputy = CreateDeputy(); var list = new List <Employee> { Director, Deputy }; Employees = list; SubDepartaments = CreateDepartaments(10, true); }