public BaseRepository(RANKSWHOLESALEEntities DBEntity)
 {
     _DBEntity = DBEntity;
     _dbSet    = _DBEntity.Set <Tbl_Entity>();
 }