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; }
public ActionResult ChnxoTest() { ChnxoViewModel cvm = new ChnxoViewModel(); return View(cvm); }