Exemple #1
0
 /// <summary>
 /// Creates restrictions for the specified repository. You should specify a Content-Header with this call.
 /// </summary>
 /// <param name="restriction">The branch restriction.</param>
 /// <returns></returns>
 public async Task <BranchRestriction> PostBranchRestriction(BranchRestriction restriction)
 {
     return(await _repositoriesEndPoint.PostBranchRestriction(_accountName, _repository, restriction));
 }