public Task <IReadOnlyList <Branch> > GetAllBranches(string owner, string name)
        {
            Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
            Ensure.ArgumentNotNullOrEmptyString(name, "name");

            return(Branch.GetAll(owner, name));
        }
        public Task <IReadOnlyList <Branch> > GetAllBranches(long repositoryId, ApiOptions options)
        {
            Ensure.ArgumentNotNull(options, "options");

            return(Branch.GetAll(repositoryId, options));
        }
 public Task <IReadOnlyList <Branch> > GetAllBranches(long repositoryId)
 {
     return(Branch.GetAll(repositoryId));
 }