public ActionResult ImportV1(ImportV1Model importV1Model) { if (importV1Model == null) { importV1Model = new ImportV1Model(); } return View(importV1Model); }
public JsonResult UploadXml() { var model = new ImportV1Model(); int rowId; var messages = model.ProcessUpload(out rowId); return new { success = messages.HasNoContent(), rowId, messages }.AsJsonResult(); }
public ActionResult GetUploadlistXml() { var importV1Model = new ImportV1Model(); return importV1Model.GetUploadList(); }