public AppointmentCreatedDomainEvent(AppoitmentId appoitmentId) { AppoitmentId = appoitmentId; }
public async Task <Appointment> GetByIdAsync(AppoitmentId id) { return(await _schedulingContext.Appointments.FindAsync(id)); }
public AppointmentCreatedDomainEvent(AppoitmentId appoitmentId) { AppoitmentId = appoitmentId; }
public async Task <Appointment> GetByIdAsync(AppoitmentId id) { return(await _schedulingContext.Appointments.FindAsync(id)); }