示例#1
0
 public ActionResult ChnxoSave(ChnxoViewModel cvm)
 {
     MessageArgument<ChnxoViewModel> maCVM = new MessageArgument<ChnxoViewModel>();
     maCVM.Action = MessageAction.Save;
     maCVM.MainParameter = cvm;
     var messageResult = _bus.Send(maCVM);
     if (messageResult.Success)
     {
         return new JSONNetResult(cvm);
     }
     return null;
 }
示例#2
0
 public ActionResult ChnxoTest()
 {
     ChnxoViewModel cvm = new ChnxoViewModel();
     return View(cvm);
 }