public async Task <IActionResult> Create([FromBody] CreateScheduleInput request) => await _dispatcher.DispatchAsync(request);
public async Task CreateAsync(CreateScheduleInput input) { var @schedule = Schedule.Create(input.EventId, input.Date); await _scheduleManager.CreateAsync(@schedule); }