よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public ActionResult DeleteCategoryConfirmed(Guid id) { bool isdeleted = _rep.DeleteCategory(id); if (isdeleted) { return(RedirectToAction("Categories")); } return(RedirectToAction("DeleteConflicted", "Error", new { returnUrl = "/Tests/Categories" })); }