예제 #1
0
        public ActionResult EditTrack(string trackTC)
        {
            var model = EditCourseVMService.GetCourseForEdit(trackTC);

            if (model == null)
            {
                return(null);
            }
            return(PartialView(PartialViewNames.EditTrack, model));
        }
예제 #2
0
        public ActionResult EditCourse(decimal orderDetailID)
        {
            var model = EditCourseVMService.GetCourseForEdit(orderDetailID);

            if (model == null)
            {
                return(null);
            }
            if (model.IsTrack)
            {
                model.IsTrackCourse = true;
                return(PartialView(PartialViewNames.EditTrackCourse, model));
            }
            return(PartialView(model));
        }