Exemple #1
0
 private Proposal(Id proposalId, Student student, Expectations expectations)
 {
     Apply(new ProposalSubmitted(proposalId.Value, student.Id.Value, expectations.Summary,
                                 expectations.Description, expectations.Language, expectations.Schedule.StartDate,
                                 expectations.Schedule.EndDate, expectations.Schedule.ScheduleOfTheWeek));
 }
Exemple #2
0
 public static Proposal SubmitFor(Id proposalId, Student student, Expectations expectations)
 {
     return(new Proposal(proposalId, student, expectations));
 }