public static void ComeInOffice(Person person, Office office) { person.ComingInOffice(DateTime.Now); office.OnCome += person.Greeting; office.OnLeave += person.Farewell; Console.WriteLine(); }
public static void ComeInOffice(Person person, Office office) { person.ComingInOffice(DateTime.Now); office.OnCome += person.Greeting; office.OnLeave += person.Farewell; Console.WriteLine(); }