Commit for GenericRepository and IGenericRepository