/// <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)); }
/// <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)); }