Exemple #1
0
 public ActionResult Create(AwardModel creationModel)
 {
     if (ModelState.IsValid)
     {
         var createdAward = new Award(creationModel.Title);
         awardLogic.Create(createdAward);
         return(RedirectToAction("GetList"));
     }
     return(View(creationModel));
 }