示例#1
0
 public static CourseCreatedDomainEvent Random()
 {
     return(Create(CourseIdMother.Random(), CourseNameMother.Random(), CourseDurationMother.Random()));
 }
示例#2
0
 public static Course FromRequest(CreateCourseCommand request)
 {
     return(Create(CourseIdMother.Random(), CourseNameMother.Random(), CourseDurationMother.Random()));
 }