예제 #1
0
 public ActionResult AddBenefit(BenefitView model)
 {
     if (ModelState.IsValid)
     {
         prepo.AddBenefit(model);
         return(RedirectToAction("OfferedBenefits"));
     }
     return(View(model));
 }