// PUT: api/Users/5
        public IHttpActionResult Put([FromBody] AccommodationView accommodation)
        {
            var model  = _mapper.MapAccommodationViewToAccommodation(accommodation);
            var result = _service.UpdateAccommodation(model);

            if (result)
            {
                return(Ok(result));
            }
            else
            {
                return(InternalServerError());
            }
        }