public ActionResult UploadFile(FileUploadFormInputModel model)
        {
            if (model != null && ModelState.IsValid)
            {
                var path = Path.Combine(model.Directory, model.FileToUpload.FileName);

                if (System.IO.File.Exists(path))
                {
                    path = GenerateFileName(model.Directory, model.FileToUpload);
                }

                model.FileToUpload.SaveAs(path);

                return PartialView("_UploadFileFormPartial", new FileUploadFormInputModel());
            }

            return PartialView("_UploadFileFormPartial", model);
        }
        public ActionResult UploadFile()
        {
            var model = new FileUploadFormInputModel();

            return PartialView("_UploadFileFormPartial", model);
        }