public async Task <IEnumerable <ExchangeOrder> > Get()
        {
            var entities = await _eoRepo.Get();

            var contracts = EntitiesToContracts(entities);

            _orders = contracts.ToList();

            return(contracts);
        }
Exemple #2
0
        public void GetMany_Test()
        {
            var entityList = _repo.Get().Result;

            Assert.NotNull(entityList);
            Assert.NotEmpty(entityList);
        }