Example #1
0
 public async Task <List <Strategy> > GetAllStrategies() =>
 await _strategyRepository.GetAll();
Example #2
0
 public IEnumerable <StrategyToken> GetStrategies()
 {
     return(_strategyRepository.GetAll().Select(s => s.AsToken()));
 }