Example #1
0
        /// <summary>
        /// Create a new resource using supplied arguments
        /// </summary>
        public Task <T> Create <T>(Response.Arguments <T> arguments) where T : Response, new()
        {
            this._requestContent = arguments.ToJson();
            var content = new JsonContent(this._requestContent);

            return(Create <T>(content));
        }
Example #2
0
        /// <summary>
        /// Create a new resource using supplied arguments
        /// </summary>
        public Task <T> Create <T>(Response.Arguments <T> arguments) where T : Response, new()
        {
            var content = new JsonContent(arguments.ToJson());

            return(Create <T>(content));
        }