public static GetJwsParameter ToParameter(this GetJwsRequest getJwsRequest) { return(new GetJwsParameter { Jws = getJwsRequest.Jws, Url = getJwsRequest.Url }); }
public async Task <JwsInformationResponse> GetJws([FromQuery] GetJwsRequest getJwsRequest) { if (getJwsRequest == null) { throw new ArgumentNullException(nameof(getJwsRequest)); } var result = await _jwsActions.GetJwsInformation(getJwsRequest.ToParameter()); return(result.ToDto()); }