public ActionResult UpdateSchooLYear(int Id, int nam_hoc) { int tmp = nam_hoc; YearAction.Edit_Year(nam_hoc); return(Redirect("~/Home/AllSchoolYear")); }
// GET: Subject public ActionResult Index() { ViewBag.YearTerm = YearAction.ShowAll(); return(View()); }
public ActionResult AllSchoolYear() { ViewBag.Year = YearAction.ShowAll(); return(View()); }
public ActionResult UpdateSchoolYear(int school_year) { //int tmp = School_Year; ViewBag.Year = YearAction.Find(school_year); return(View()); }
public ActionResult CreateSchoolYear(int School_Year) { YearAction.Add_Year(School_Year); return(View()); }