Esempio n. 1
0
        // GET: Shift/Delete/5
        public ActionResult Delete(int id)
        {
            IShiftService cs = new ShiftService(Settings.Default.db);

            Shift cp = cs.FindById(id);

            SetDropDownList(cp);
            return(View(cp));
        }
Esempio n. 2
0
        // GET: Shift/Edit/5
        public ActionResult Edit(int id)
        {
            IShiftService cs = new ShiftService(Settings.Default.db);

            Shift jt = cs.FindById(id);

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