public async Task <bool> UpdateAsync <T>(T entity) { int rows = await GetConnection.UpdateAsync(entity); return(rows != 0); }