public ActionResult CreateApplication(Application item) { SchoolActivityModule module = new SchoolActivityModule(_context); long id = module.CreateApplication(item); ActivityConfirmModule module1 = new ActivityConfirmModule(_context); return(View(module1.GetApplicationList())); }
public JsonResult ApplicationListAPI() { ActivityConfirmModule module = new ActivityConfirmModule(_context); return(Json(module.GetApplicationList())); }