Esempio n. 1
0
 public ActionResult ObjectiveDetails(int id)
 {
     KillTheTest.Models.Objective objective
         = new KillTheTest.Models.Objective();
     objective.ObjectiveId = id;
     objective.GetObjective();
     objective.GetLessons();
     return(View("ObjectiveDetails", objective));
 }
Esempio n. 2
0
 public ActionResult ObjectiveComplete(int id)
 {
     KillTheTest.Models.Objective objective
         = new KillTheTest.Models.Objective();
     objective.ObjectiveId = id;
     objective.GetObjective();
     objective.GetObjectivesInSubtopic();
     objective.GetLessons();
     objective.PutUserComplete(UserId);
     return(View("ObjectiveComplete", objective));
 }