public ActionResult GetVersioned(String dbName, String version)
        {
            var model = new DatabaseObjectSelectionModel();
            model.LoadVersionedStoredProcedures(dbName, version);

            var json = new JsonResult();
            json.JsonRequestBehavior = JsonRequestBehavior.AllowGet;
            json.Data = model.VersionedStoredProcedures.Select(s => s.Name);
            return json;
        }
        public ActionResult GetAll()
        {
            var model = new DatabaseObjectSelectionModel();
            model.LoadAllStoredProcedures();

            var json =  new JsonResult();
            json.JsonRequestBehavior = JsonRequestBehavior.AllowGet;
            json.Data = model.AllStoredProcedures.Select(s=>s.Name);
            return json;
        }
 //
 // GET: /
 public ActionResult Index()
 {
     var model = new DatabaseObjectSelectionModel();
     return View(model);
 }