// GET: api/Hotel public HttpResponseMessage Get() { var hotellist = _hotelManager.GetAllHotel(); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, hotellist); return(response); }