Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <ActionResult <TourDTO> > GetTour(int id) { var tour = await _repository.GetBy(id); var tourDTO = _mapper.Map <Tour, TourDTO>(tour); return(Ok(tour)); }