Example #1
0
 public static CourseEdit Get(int id)
 {
     return(ObjectUtil.GetEdit <CourseEdit, Course>(id));
 }
Example #2
0
 public static InstructorEdit Get(int id, bool forDelete = false)
 {
     return(forDelete ? ObjectUtil.GetEdit <InstructorEdit, Instructor>(id)
         : ObjectUtil.GetEdit(id, () => new InstructorEditObjectFactory()));
 }
Example #3
0
 public static StudentEdit Get(int id)
 {
     return(ObjectUtil.GetEdit <StudentEdit, Student>(id));
 }