public async Task <BetEvent> GetByIdAsync(Guid id) { var command = CommandBuilder.BuildGetByIdCommand(id, connection, "events"); var reader = command.ExecuteReader(); return(deserializer.DeserializeOneEvent(reader)); }