public static Course Random()
 {
     return(Create(CourseIdMother.Random(), CourseNameMother.Random(), CourseDurationMother.Random()));
 }
 public static Course FromRequest(CreateCourseRequest request)
 {
     return(Create(CourseIdMother.Create(request.Id), CourseNameMother.Create(request.Name), CourseDurationMother.Create(request.Duration)));
 }