public int Update <T>(T entity) where T : class { return(DbProvider.Update(entity)); }
public int Update(T entity) { return(DbProvider.Update(entity)); }