private async Task TestGetCropGroup(int id) { try { var cropGroup = await _cropGroupRepository.GetCropGroupAsync(id); richTextBoxLog.Text += $"{cropGroup.CropGroupId}: {cropGroup.CropGroupName}\n"; } catch (Exception exc) { richTextBoxLog.Text += $"{exc.Message}\n"; } }