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