public JsonResult GetHotel(int id, IEnumerable<string> query)
        {
            var queries = new Query[] { };

            if (query != null)
            {
                queries = query.Select(q => new Query { Name = q }).ToArray();
            }

            var manager = this.GetManagerFor<IHotelManager>();
            var result = manager.GetById(id);
            var resultDTO = new HotelDTO(queries, result);

            return Json(resultDTO);
        }
        public JsonResult GetAdministrator(int adminId, IEnumerable<string> query)
        {
            var queries = new Query[] { };

            if (query != null)
            {
                queries = query.Select(q => new Query { Name = q }).ToArray();
            }

            var manager = this.GetManagerFor<IAdministratorManager>();
            var result = manager.GetById(adminId);
            var resultDTO = new AdministratorDTO(queries, result);

            return Json(resultDTO);
        }