protected virtual void Dispose(bool disposing) { if (this._controller == null) return; this._controller.Dispose(); this._controller = null; }
public void Setup() { this._userService = new Mock<IUserService>(); this._reviewService = new Mock<IReviewService>(); this._controller = new ReviewController(this._userService.Object, this._reviewService.Object); }