public ActionResult Save(VmResourceAddorEdit vm) { _resourceService.AddorUpdate(vm.MapTo<ResourceDto>()); return AjaxOkResponse("保存成功!"); }