public IActionResult GetVacation(int vacationId) { var vacations = _repo.GetVacation(vacationId); if (vacations == null) { return(NotFound()); } return(Ok(ModelsMapping.GetVacationDto(vacations))); }
public IActionResult GetVacation(int vacationId) { var vacations = _repo.GetVacation(vacationId); if (vacations == null) { return(NotFound()); } return(Ok(ModelsMapping.GetVacationDto(vacations))); }