public JsonResult GetLocation(int id)
 {
     var locationRepository = new LocationRepository();
     return Json(locationRepository.GetLocation(id), JsonRequestBehavior.AllowGet); ;
 }
 //
 // GET: /FamilyCourses/
 public ActionResult DisplayBookingForm()
 {
     var locationRepository=new LocationRepository();
     List<Location> listOfLocations = locationRepository.GetLocations();
     return PartialView("FAMDisplayBookingForm",listOfLocations);
 }