public JsonResult DetailsInfo(int id)
        {
            var venue = _venuesRepository.GetVenueById(id);

            if (venue == null)
            {
                return(null);
            }
            VenuesViewModel model = new VenuesViewModel();

            model.VenueID      = venue.VenueID;
            model.Name         = venue.Name;
            model.Street       = venue.Street;
            model.StreetNumber = venue.StreetNumber;
            model.CityID       = venue.CityID;
            model.Phone        = venue.Phone;
            model.VenueTypeID  = venue.VenueTypeID;

            return(Json(model, JsonRequestBehavior.AllowGet));
        }
        //GET: venues/details/id
        public ActionResult Details(int id)
        {
            VenuesViewModel model;
            Venues          venue = _venuesRepository.GetVenueById(id);

            if (venue == null)
            {
                return(Content("This Venue does not exist"));
            }
            model = new VenuesViewModel(venue);


            return(View(model));
        }