よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <ActionResult <Schedule> > Create([FromBody] ScheduleCreateRequest request) { var schedule = await _scheduleService.CreateAsync(new Schedule { ActualDepartureTime = request.ActualDepartureTime, EstimatedDepartureTime = request.EstimatedDepartureTime, FlightId = request.FlightId, Status = request.Status }); return(schedule); }