public void DeleteProgressWhenNoProgressIsStarted() { _contextMock = new Mock <IDbContext>(); _participant = new Participant { Id = 1, Email = "", Scores = null, UserSetting = null, Progress = null }; _controller = new ProgressController(_contextMock.Object, _participant); SetupControllerForTests(_controller); var request = _controller.Delete(); }
public ActionResult Delete() { return((ActionResult)pc.Delete(Request)["view"]); }
public void DeleteProgress() { SetupControllerForTests(_controller); var request = _controller.Delete(); }