public ActionResult <Tour> GetById(int id) { var tour = repository.FindById(id); if (tour == null) { return(NotFound()); } return(Ok(tour)); }
public ActionResult <Tour> GetById(int id) { var tour = repository.FindById(id); if (tour == null) { return(NotFound()); } return(Ok(tour)); }