Beispiel #1
0
 /// <summary>
 /// Dispose managed resources. Set large fields to null inside
 /// <see cref="Disposable.DisposeExtra()"/> method since, that method will
 /// be called whether the <see cref="Disposable.Dispose()"/>
 /// method is called by the finalizer or your code.
 /// </summary>
 protected override void DisposeManaged()
 {
     _userRepo.Dispose();
     _roleRepo.Dispose();
     _userLoginRepo.Dispose();
     _userRepo.Dispose();
     _userClaimRepo.Dispose();
 }
 /// <summary>
 /// Dispose managed resources. Set large fields to null inside
 /// <see cref="Disposable.DisposeExtra()"/> method since, that method will
 /// be called whether the <see cref="Disposable.Dispose()"/>
 /// method is called by the finalizer or your code.
 /// </summary>
 protected override void DisposeManaged()
 {
     _repo.Dispose();
 }