Exemplo n.º 1
0
 public void Execute()
 {
     this.loggerService.RunWithExceptionLogging(() =>
     {
         outputDevice.Clear();
         outputDevice.WriteLine("Clients with 'Black' status:");
         tableDrawer.Show(clientManager.GetAllClients().Where(c => c.Balance < 0));
     });
     this.loggerService.Info($"Readed all clients with 'Black' status (balance < 0)");
 }