public ActionResult Index(ContributorModel model)
        {
            var sql = Odp.Data.Sql.sqlServerConnection.GetDataServiceInstance();
            this.model = model;

            if (model.Save == "Save")
            {
                if (model.Id == null)
                    sql.InsertContributor(model.Name, model.Description, model.Disclaimer);
                else
                    sql.UpdateContributor(model.Id, model.Name, model.Description, model.Disclaimer);
            }
            else
            {
                return RedirectToAction("DataSetList", "DataCatalog");
            }

            return RedirectToAction("DataSetList", "DataCatalog");
        }
        public ActionResult Index(string contributor)
        {
            var sql = Odp.Data.Sql.sqlServerConnection.GetDataServiceInstance();
            model = new ContributorModel();
            model.OtherModel = new DatasetListModel(0, 0, new OrderByInfo(), null, null);

            foreach (Container con in model.OtherModel.AllContainers)
            {
                if (con.Alias == contributor)
                {
                    model.Id = sql.GetDataSourceID(con.Alias);
                    model.Name = con.Alias;
                    model.Description = con.Description;
                    model.Disclaimer = con.Disclaimer;
                }
            }

            return View("Index", System.Configuration.ConfigurationManager.AppSettings["MasterPageName"], model);
        }