Esempio n. 1
0
        public async Task <List <Bet> > GetAllAsync()
        {
            var events  = new List <BetEvent>();
            var command = CommandBuilder.BuildGetAllCommand("bets", connection);
            var reader  = command.ExecuteReader();

            return(deserializer.DeserializeAllBets(reader));
        }