public ActionResult Edit([Bind(Include = "Id,Title")] Feature feature) { if (ModelState.IsValid) { _repo.Update(feature); return(RedirectToAction("Index")); } return(View(feature)); }
public void UpdateFeatures(Features feature) { _featuresRepository.Update(feature); }
public bool UpdateFeature(Feature toUpdate) { return(_repository.Update(toUpdate)); }