Exemplo n.º 1
0
        public int CreateService(ServiceBuilder builder)
        {
            var body    = builder.GenerateRequestBody();
            var request = GenerateDefaultRequest();

            request.Resource += "create";
            request.Method    = Method.POST;
            request.AddParameter("createinfo", body, ParameterType.GetOrPost);
            return(ExecuteBaseResponseRequest <int>(request).Result);
        }