コード例 #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()));
 }