public void Apply(SessionCreated domainEvent) { OrganizationId = domainEvent.OrganizationId; Date = domainEvent.Date; ClientId = domainEvent.ClientId; Feedback = domainEvent.Feedback; GoalOrExpectations = domainEvent.GoalOrExpectations; AreasOfDiscomfort = domainEvent.AreasOfDiscomfort; }
public void Apply(SessionCreated domainEvent) { OrganizationId = domainEvent.OrganizationId; Date = domainEvent.Date; ClientId = domainEvent.ClientId; ClientFullName = domainEvent.ClientFullName; Feedback = domainEvent.Feedback; GoalOrExpectations = domainEvent.GoalOrExpectations; AreasOfDiscomfort = domainEvent.AreasOfDiscomfort; ContraIndications = domainEvent.ContraIndications; AddHistory(domainEvent, "Session Created"); }
public void Apply(SessionCreated sessionCreated) { SessionCount++; }