public ActionResult UploadResult(CustomSqlServerModel model, UploadSession session)
        {
            

            model.UploadSession = session;

            return View(model);
        }
        public ActionResult Index(CustomSqlServerModel model)
        {
            if (model == null)
                model = new CustomSqlServerModel();

            
    try
    {
        model.ExistingFiles = new AspNetMvc2Cs.Storage.SqlFileRepository("customSqlServer").GetAll(true);
    }
    catch (Exception ex)
    {
        model.Exception = ex;
    }


            return View(model);
        }