常用方法
常用方法
常用方法
常用方法
// GET: EczaneNobet/Monitor/Details/5 public ActionResult Details(int id) { if (id < 1) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } var monitor = _monitorService.GetDetayById(id); if (monitor == null) { return(HttpNotFound()); } return(View(monitor)); }