public async Task <IResponseBase> getreqAsync([FromQuery] MyGettReq req) { var postReq = new MyPostThirdReq() { heihei = new List <int>() { 1, 2, 3 } }; var values = await this.ApiClient.ExecuteAsync(postReq); return(new ResponseBase <IEnumerable <string> >(new string[] { "value1", "value2" })); }
public IResponseBase PostThirdReq([FromBody] MyPostThirdReq req) { throw new Exception("aaaaaaaaaaaaaa"); return(new ResponseBase <IEnumerable <string> >(new string[] { "value5", "value6" })); }