public async Task <IEnumerable <ExchangeOrder> > Get() { var entities = await _eoRepo.Get(); var contracts = EntitiesToContracts(entities); _orders = contracts.ToList(); return(contracts); }
public void GetMany_Test() { var entityList = _repo.Get().Result; Assert.NotNull(entityList); Assert.NotEmpty(entityList); }