// GET: api/Users/5
        public IHttpActionResult GetAccommodation(int id)
        {
            var result = _service.GetAccommodation(id);

            if (result == null)
            {
                return(BadRequest("Not found."));
            }
            var response = _mapper.MapAccommodationToBasicAccommodation(result);

            return(Ok(response));
        }