よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <ActionResult <EnrolleeAdjudicationDocument> > DeleteEnrolleeAdjudicationDocument(int documentId) { var document = await _enrolleeService.GetEnrolleeAdjudicationDocumentAsync(documentId); if (document == null) { return(NotFound(ApiResponse.Message($"Document not found with id {documentId}"))); } await _enrolleeService.DeleteEnrolleeAdjudicationDocumentAsync(documentId); return(Ok(ApiResponse.Result(document))); }