Esempio n. 1
0
        public IActionResult GetVacationOpportunityByOpeningDate(DateTime vacationOpeningDate)
        {
            if (vacationOpeningDate == null)
            {
                return(BadRequest());
            }

            var listVacationOpportunities = _vacationOpportunity.GetVacationOpportunityByOpeningDate(vacationOpeningDate);

            return(Ok(listVacationOpportunities));
        }
 public  IActionResult GetVacationOpportunityByOpeningDate(DateTime vacationOpeningDate)
 {
     var listVacationOpportunities = _vacationOpportunity.GetVacationOpportunityByOpeningDate(vacationOpeningDate);
     return Ok(listVacationOpportunities);
 }