| | |
| | | dlg.SetBindingData(vm.TagName); |
| | | dlg.ReloadDataEvent += (tagName) => |
| | | { |
| | | var result = _bll.UpdateTagName(vm.ID, tagName); |
| | | var result = _bll.UpdateTagName(vm.UserID, tagName); |
| | | if (result) |
| | | { |
| | | vm.TagName = tagName; |
| | |
| | | dlg.SetBindingData(vm.SortCode); |
| | | dlg.ReloadDataEvent += (sortCode) => |
| | | { |
| | | var result = _bll.UpdateSortCode(vm.ID, sortCode); |
| | | var result = _bll.UpdateSortCode(vm.UserID, sortCode); |
| | | if (result) |
| | | { |
| | | vm.SortCode = sortCode; |
| | |
| | | dlg.SetBindingData(vm.UseStatus); |
| | | dlg.ReloadDataEvent += (useStatus) => |
| | | { |
| | | var result = _bll.UpdateUseStatus(vm.ID, (int)useStatus); |
| | | var result = _bll.UpdateUseStatus(vm.UserID, (int)useStatus); |
| | | if (result) |
| | | { |
| | | vm.UseStatus = useStatus; |