よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public IActionResult GetAccreditive(ProductIdRequest request) { if (ModelState.IsValid) { var response = new SingleResponse <Accreditive>() { ResultCode = ResultCodes.normal }; response.Result = _xbService.GetAccreditive(request.ProductId); return(ResponseExtensions.ToHttpResponse(response)); } else { return(ValidationError.GetValidationErrorResponse(ModelState)); } }