Beispiel #1
0
        public async Task <IEnumerable <Bidder> > Get()
        {
            var bidders = await _mongoService.GetAllDocumentsAsync <Bidder>("Bidders");

            return(bidders);
        }
        public async Task <IEnumerable <Player> > Get()
        {
            var players = await _mongoService.GetAllDocumentsAsync <Player>("Players");

            return(players);
        }