public async Task <T> ExecuteRestApiAsync <T>(string apiName, object inputObject) { if (string.IsNullOrEmpty(apiName)) { throw new ArgumentNullException("apiName"); } if (inputObject == null) { throw new ArgumentNullException("inputObject"); } var response = await _jsonHttpClient.HttpPostRestApiAsync <T>(apiName, inputObject); return(response); }