示例#1
0
        protected async Task HandleValidSubmit()
        {
            await Service.Update(Record);

            await Service.Return();
        }
示例#2
0
 protected async Task OnCancelClick(MouseEventArgs e)
 {
     await Service.Return();
 }
示例#3
0
        protected override async Task OnInitializedAsync()
        {
            var id = int.Parse(Id);

            Record = await Service.Get(id);
        }