Пример #1
0
        public ActionResult Details(int?Id)
        {
            if (Id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            Setting model = repositorySetting.Details(Id);

            // model.UserDetails.FName
            if (model == null)
            {
                return(HttpNotFound());
            }
            return(View("UpdateSetting", model));
        }