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