public ActionResult Create(ScheduleDetailActivityCategoryDataModel obj) { if (ModelState.IsValid) { ScheduleDetailActivityCategoryDataManager.Create(obj, SessionVariables.RequestProfile); return(RedirectToAction("Index")); } return(View(obj)); }