public async Task UpdateAsync(T obj) { await ValidateModel(obj); using (var connection = _connectionProvider.GetConnection()) { await connection.ExecuteAsync(_queryBuilder.Update(obj)); } }