Beispiel #1
0
        public ActionResult Import(HttpPostedFileBase file)
        {
            var model = new TaskImportModel();

            model.Tab = "Task";

            model.Tasks = ImportHelper.ImportTasks(this, file);

            if (this.ModelState.IsValid)
            {
                return this.View("ImportSuccess", model);

            }

            return this.View(model);
        }
Beispiel #2
0
        public ActionResult Import()
        {
            var model = new TaskImportModel();

            model.Tab = "Task";

            return this.View(model);
        }