public async Task <IEnumerable <Client> > GetClients(bool includeDeleted = false) { var clients = await _clientStore.GetAll(); return(clients.Where(c => !c.IsDeleted || includeDeleted)); }
public async Task <IEnumerable <Client> > GetClients(bool includeDeleted = false) { var clients = await _clientStore.GetAll(); return(clients.Where(c => !c.IsDeleted || includeDeleted)); }