よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
// GET: Admin/Orders/Details/5 public ActionResult Details(long id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } //Order order = db.Orders.Find(id); var dao = new OrderDao(); var model = dao.Details(id); if (model == null) { return(HttpNotFound()); } return(View(model)); }