Esempio n. 1
0
        public async Task <DnspodRecordListResult> List(int domain_id)
        {
            var args = framework.getArgs();

            args["domain_id"] = domain_id.ToString();
            var content = new FormUrlEncodedContent(args);

            return(await DnspodApi.post <DnspodRecordListResult>("Record.List", content));
        }
Esempio n. 2
0
        public async Task <DnspodDomainListResult> List()
        {
            var args    = framework.getArgs();
            var content = new FormUrlEncodedContent(args);

            return(await DnspodApi.post <DnspodDomainListResult>("Domain.List", content));
        }