Пример #1
0
 public void AddUser(string ProjectKey, string login, EProjectPermission permission)
 {
     var     url      = UrlBuilder.FormatRestApiUrl(PERMISSIONS_ADDUSER_KEY, ProjectKey, login, permission.ToString());
     var     request  = new RestRequest(url, Method.POST);
     Project response = _client.Execute <Project>(request);
 }
Пример #2
0
 public void AddUser(string ProjectKey, string login, EProjectPermission permission)
 {
     var url = UrlBuilder.FormatRestApiUrl(PERMISSIONS_ADDUSER_KEY, ProjectKey, login, permission.ToString());
     var request = new RestRequest(url, Method.POST);
     Project response = _client.Execute<Project>(request);
 }
Пример #3
0
 public void AddGroup(string ProjectKey, string GroupName, EProjectPermission permission)
 {
     var     url      = UrlBuilder.FormatRestApiUrl(PERMISSIONS_ADDGROUP_KEY, ProjectKey, GroupName, permission.ToString());
     var     request  = new RestRequest(url, Method.POST);
     Project response = _client.Execute <Project>(request);
 }
Пример #4
0
 public void AddGroup(string ProjectKey, string GroupName, EProjectPermission permission)
 {
     var url = UrlBuilder.FormatRestApiUrl(PERMISSIONS_ADDGROUP_KEY, ProjectKey, GroupName, permission.ToString());
     var request = new RestRequest(url, Method.POST);
     Project response = _client.Execute<Project>(request);
 }