예제 #1
0
파일: CourseEdit.cs 프로젝트: cuongdn/mmisc
 public static CourseEdit Get(int id)
 {
     return(ObjectUtil.GetEdit <CourseEdit, Course>(id));
 }
예제 #2
0
 public static InstructorEdit Get(int id, bool forDelete = false)
 {
     return(forDelete ? ObjectUtil.GetEdit <InstructorEdit, Instructor>(id)
         : ObjectUtil.GetEdit(id, () => new InstructorEditObjectFactory()));
 }
예제 #3
0
 public static StudentEdit Get(int id)
 {
     return(ObjectUtil.GetEdit <StudentEdit, Student>(id));
 }