public virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { _db.Dispose(); } disposed = true; } }
/** * Disposes the class */ public void Dispose() { _ctx.Dispose(); _userManager.Dispose(); }