public void AddWorker(string FullName, string Position, decimal Wage, ICommander commander) { Worker worker = new Worker() { FullName = FullName, Position = Position, Wage = Wage }; commander.AddSubordinate(worker); }