よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public ActionResult DeleteGameType(int id) { try { dal.DeleteGameType(id); Session["message"] = "Game Type is successfully deleted"; Session["requestStatus"] = "Success"; return(RedirectToAction("Index")); } catch { Session["message"] = "Unable to perform this request"; Session["requestStatus"] = "Error"; return(RedirectToAction("Index")); } }