public async Task <List <string> > Analysts() { var context = new DataSourcesRepository(); var results = await context.GetAnalysts(); return(results.ToList()); }
public async Task <List <BrokerDTO> > Brokers() { var context = new DataSourcesRepository(); var results = await context.GetBrokers(false); return(results.Select(x => new BrokerDTO() { BrokerID = x.ID, Name = x.Name.ToUpper() }).ToList()); }