public void View() { string key = Request["key"]; if (!key.IsNullOrEmpty()) { var vm = FHRIS424Service.Get(key, out this.GUID); return; } }
public void Edit() { string key = Request["key"]; this.AssertNoNull(key); var vm = FHRIS424Service.Get(key, out this.GUID); try { // 编辑时加锁 GlobalService.SetLock(vm.RID, 2); } catch (Exception ex) { this.FlashMessage += ex.Message; this.Action = "VIEW"; throw ex; } }
public void Create() { var vm = FHRIS424Service.Get("", out this.GUID); }