public ActionResult UploadModelResult(BlockModelUploadViewModel m) { string ss = BlockModelService.GetBlockModelInfo(m.Model1); ss = ss + ".MMM"; m.Test = ss; return View(m); }
public ActionResult UploadModel() { // this is called when the view is cerated var model = new BlockModelUploadViewModel{ Models = BlockModelService.GetModelList(), ProjectList = ProjectService.GetProjectList() }; return View(model); }