Ejemplo n.º 1
0
        public async Task <BetEvent> GetByIdAsync(Guid id)
        {
            var command = CommandBuilder.BuildGetByIdCommand(id, connection, "events");
            var reader  = command.ExecuteReader();

            return(deserializer.DeserializeOneEvent(reader));
        }