Exemplo n.º 1
0
 /// <summary>
 /// Gets the information associated with specific restriction.
 /// </summary>
 /// <param name="restrictionId">The restriction's identifier.</param>
 /// <returns></returns>
 public object GetBranchRestriction(int restrictionId)
 {
     return(_repositoriesEndPoint.GetBranchRestriction(_accountName, _repository, restrictionId));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the information associated with specific restriction.
 /// </summary>
 /// <param name="restrictionId">The restriction's identifier.</param>
 /// <returns></returns>
 public BranchRestriction GetBranchRestriction(int restrictionId)
 {
     return(_repositoriesEndPoint.GetBranchRestriction(_accountName, _slug, restrictionId));
 }