public IHttpActionResult GetTourTypes()
 {
     return(Ok(_tourTypeService.GetTourTypes()));
 }
Exemple #2
0
 // GET: api/TourType
 public IHttpActionResult Get()
 {
     return(Ok(mapper.Map <IEnumerable <TourTypeDTO>, List <TourType> >(service.GetTourTypes())));
 }