コード例 #1
0
        // GET: ResignType/Delete/5
        public ActionResult Delete(int id)
        {
            IResignTypeService cs = new ResignTypeService(Settings.Default.db);

            ResignType cp = cs.FindById(id);

            //SetDropDownList(cp);
            return(View(cp));
        }
コード例 #2
0
        // GET: ResignType/Edit/5
        public ActionResult Edit(int id)
        {
            IResignTypeService cs = new ResignTypeService(Settings.Default.db);

            ResignType jt = cs.FindById(id);

            //SetDropDownList(jt);
            return(View(jt));
        }