よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <ActionResult <Mapping> > Delete([FromRoute] string userEmail, [FromRoute] int surveyId, [FromRoute] int mappingId) { var mapping = await _mappingService.DeleteSurveyMappingAsync(userEmail, surveyId, mappingId); if (mapping == null) { return(NotFound(mapping)); } return(new ObjectResult(mapping) { StatusCode = 200 }); }