よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <ActionResult <IEnumerable <EnrolleeAdjudicationDocument> > > GetEnrolleeAdjudicationDocuments(int enrolleeId) { if (!await _enrolleeService.EnrolleeExistsAsync(enrolleeId)) { return(NotFound(ApiResponse.Message($"Enrollee not found with id {enrolleeId}"))); } var documents = await _enrolleeService.GetEnrolleeAdjudicationDocumentsAsync(enrolleeId); return(Ok(ApiResponse.Result(documents))); }