Esempio n. 1
0
        // GET: UserType/Edit/5
        public ActionResult Edit(int id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            UserType usertype = UsertypeService.GetByID(id);

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