public void UpdatePluggEntity() { BaseRepository rep = new BaseRepository(); rep.UpdatePlugg(ThePlugg); }