public void Execute() { foreach (var hw in _srv.GetAllHomework()) { Console.WriteLine(hw); } Console.WriteLine(); }