Example #1
0
        public ActionResult UpdateSchooLYear(int Id, int nam_hoc)
        {
            int tmp = nam_hoc;

            YearAction.Edit_Year(nam_hoc);
            return(Redirect("~/Home/AllSchoolYear"));
        }
Example #2
0
 // GET: Subject
 public ActionResult Index()
 {
     ViewBag.YearTerm = YearAction.ShowAll();
     return(View());
 }
Example #3
0
 public ActionResult AllSchoolYear()
 {
     ViewBag.Year = YearAction.ShowAll();
     return(View());
 }
Example #4
0
 public ActionResult UpdateSchoolYear(int school_year)
 {
     //int tmp = School_Year;
     ViewBag.Year = YearAction.Find(school_year);
     return(View());
 }
Example #5
0
 public ActionResult CreateSchoolYear(int School_Year)
 {
     YearAction.Add_Year(School_Year);
     return(View());
 }