Class ScheduleAppointmentUseCase
Constructors
Methods
execute
- execute(
input: {
barberId: string;
customerId: string;
notes?: string;
serviceId: string;
startTime: Date;
},
): Promise<AppointmentEntity> Parameters
- input: {
barberId: string;
customerId: string;
notes?: string;
serviceId: string;
startTime: Date;
}