public IActionResult Edit(int id) { var model = new ProductFeatureUpdateModel(); model.Load(id); return(View(model)); }
public IActionResult Edit(ProductFeatureUpdateModel model) { if (ModelState.IsValid) { model.EditProductFeature(); } return(View(model)); }
public IActionResult Add() { var model = new ProductFeatureUpdateModel(); return(View()); }