Exemple #1
0
        protected async void FormSubmit()
        {
            int.TryParse(ParentId, out int parentId);
            model.ParentId = parentId;
            await NoticeRepositoryAsyncReference.EditAsync(model);

            NavigationManagerReference.NavigateTo("/Boards/Notices");
        }
Exemple #2
0
        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();
        }