Beispiel #1
0
        public ActionResult CreateShift(ShiftClass shift)
        {
            IRepository repo = new Repository();

            repo.CreateShift(shift);
            return(RedirectToAction("Index", "Shift"));
        }
 protected void Reset()
 {
     TxtStdId.Text   = string.Empty;
     TxtStdName.Text = string.Empty;
     Class.ClearSelection();
     Section.ClearSelection();
     PstdId.Text    = string.Empty;
     TxtSName.Text  = string.Empty;
     TxtAcYear.Text = string.Empty;
     ShiftClass.ClearSelection();
     PSection.ClearSelection();
 }