コード例 #1
0
        // GET: EczaneNobet/Istek/Details/5
        public ActionResult Details(int id)
        {
            if (id < 0)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Istek istek = _istekService.GetById(id);

            if (istek == null)
            {
                return(HttpNotFound());
            }
            return(View(istek));
        }