protected async void FormSubmit() { int.TryParse(ParentId, out int parentId); model.ParentId = parentId; await NoticeRepositoryAsyncReference.EditAsync(model); NavigationManagerReference.NavigateTo("/Boards/Notices"); }
protected async void ToggleClick() { this.model.IsPinned = (this.model?.IsPinned == true) ? false : true; await NoticeRepositoryAsyncReference.EditAsync(this.model); IsInlineDialogShow = false; this.model = new BoardNotices(); await DisplayData(); }