Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 public ActionResult Delete()
 {
     return((ActionResult)pc.Delete(Request)["view"]);
 }
Ejemplo n.º 3
0
 public void DeleteProgress()
 {
     SetupControllerForTests(_controller);
     var request = _controller.Delete();
 }