Пример #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!Disposed && disposing)
     {
         _repository.Dispose();
         Disposed = true;
     }
 }
 public void Dispose()
 {
     _repository.Dispose();
 }