public void Execute() { this.loggerService.RunWithExceptionLogging(() => { this.tableDrawer.Show(clientManager.GetAllClients()); }); this.loggerService.Info("Readed all Clients from ClientBase"); }
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)"); }
public IEnumerable <Client> GetAllClients() { return(_clientManager.GetAllClients()); }
public List <Client> GetClients() { return(_clientManager.GetAllClients()); }
public async Task SendNotification(Job job) { var connectionIds = _clientManager.GetAllClients(); await Clients.All.SendAsync("ReceiveNotification", job); }