protected async void FormSubmit() { int.TryParse(ParentId, out int parentId); model.ParentId = parentId; await NoticeRepositoryAsyncReference.AddAsync(model); NavigationManagerReference.NavigateTo("/Notices"); }
protected async void FormSubmit() { int.TryParse(ParentId, out int parentId); model.ParentId = parentId; await NoticeRepositoryAsyncReference.AddAsync(model); //Socketlabs.SendMessage(model.Title, model.Content, ""); // 전체메일 발송 NavigationManagerReference.NavigateTo("/Boards/Notices"); }
protected async void FormSubmit() { await NoticeRepositoryAsyncReference.AddAsync(model); NavigationManagerReference.NavigateTo("/Notices"); }