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

            return(deserializer.DeserializeAllEvents(reader));
        }