public ActionResult <Output.HolidayOutputModel?> GetHoliday( [Range(0, int.MaxValue)] int year , [Range(1, 12)] int month , [Range(1, 31)] int dayOfMonth ) { var result = holidayService.GetHoliday(dayOfMonth, month, year); return(result.HasErrors switch { true => BadRequest(result.Errors), false => Ok(result.Data) });