public void CompleteTransaction(Caems database)
 {
     if (_stack == null)
     {
         _stack = new Stack <Caems>();
     }
     _stack.Pop();
 }
 public void BeginTransaction(Caems database)
 {
     if (_stack == null)
     {
         _stack = new  Stack <Caems>();
     }
     _stack.Push(database);
 }