public ActionResult Edit() { var category_Interest = new Category_InterestViewModel(); _category_InterestLogic.GetById(category_Interest); return(View(category_Interest)); }
public ActionResult Edit(Category_InterestViewModel category_Interest) { _category_InterestLogic.UpdateCategoryInterest(category_Interest); return(RedirectToAction("Index")); }
public ActionResult Create(Category_InterestViewModel categoryInterestViewModel) { _category_InterestLogic.CreateCategoryInterest(categoryInterestViewModel); return(RedirectToAction("Index")); }
public ActionResult Create() { var categoryInterestViewModel = new Category_InterestViewModel(); return(View(categoryInterestViewModel)); }