Exemplo n.º 1
0
        public async Task <IEnumerable <MarketOrder> > GetOrders()
        {
            var player = await _playerRepo.GetPlayer(Context.User);

            var orders = await _repo.GetOrders(player);

            foreach (var order in orders)
            {
                await Subscribe(order.OrderId);
            }
            return(orders);
        }