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