자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public ActionResult Delete(int id, CategoryDTO obj) { try { MyRepository repository = new MyRepository(); repository.DeleteCategory(id); return(RedirectToAction("Index")); } catch { return(View()); } }