public static void ClassCleanup()
 {
     cremaHost.Dispatcher.Invoke(() =>
     {
         template.CancelEdit(authentication);
         dataBase.Unload(authentication);
         cremaHost.Stop(authentication);
     });
     app.Dispose();
 }
 public void CancelEdit()
 {
     template.CancelEdit(authentication);
 }