protected override async Task <bool> SaveItemAsync(CourseRecordModel model) { try { return(await RecordService.AddOrUpdateCourseRecordAsync(model) > 0); } catch (Exception e) { await DialogService.ShowAsync("保存失败", e.InnerException?.Message ?? e.Message); } return(false); }