public ActionResult Delete(long id) { var model = new DeleteIssueCategoryModel() { Id = id }; return(View(model)); }
public ActionResult Delete(DeleteIssueCategoryModel model) { _repository.Remove(model.Id); return(RedirectToAction("List")); }
public ActionResult Delete(long id) { var model = new DeleteIssueCategoryModel() { Id = id }; return(View(model)); }
public ActionResult Delete(DeleteIssueCategoryModel model) { _repository.Remove(model.Id); return(RedirectToAction("List")); }