示例#1
0
        // GET: AccountTypes/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            AccountType accountType = AccountTypeRepository.Find(id.Value);

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