public ActionResult Create(Keyword keyword) { if (ModelState.IsValid) { _keywordRepository.Create(keyword); _unitOfWork.Commit(); return(RedirectToAction("Index")); } return(View(keyword)); }
public ActionResult Create(Keyword keyword) { if (ModelState.IsValid) { _keywordRepository.Create(keyword); _unitOfWork.Commit(); return(RedirectToAction("Index")); } return(View(keyword)); }