/// <summary> /// 编辑 /// </summary> /// <param name="_SysAccountVM"></param> /// <returns></returns> public ActionResult Edit(SysAccountVM _SysAccountVM) { _SysAccountVM.SysAccount = _SysAccountService.GetById(_SysAccountVM.Id) ?? new SysAccount(); _SysAccountVM.ImgInfo = _SysAccountVM.SysAccount.BaseImage ?? new BaseImage(); _SysAccountVM.SysRoles = _SysRoleService.GetAll(); return(View(_SysAccountVM)); }