public BranchRemovalStatus Delete(string name) { var errorMessage = _api.Delete().To <string>(_repoPath + "/branches/" + name); return(BranchRemovalStatus.FromReponseMessage(errorMessage)); }
public void Delete(int hookId) { _api.Delete().To <ProjectHook>(_path + "/" + hookId); }
public bool DeleteTag(String tagName) { Tag tag = _api.Delete().To <Tag>(_repoPath + "/tags/" + tagName); return(tag == null || tag.Commit == null); }
public void Delete(int id) { _api.Delete().To <Namespace>(Namespace.Url + "/" + id); }
public void Delete(FileDelete file) { _api.Delete().With(file).Stream(_repoPath + "/files", s => { }); }
public void Delete(int userId) { _api.Delete().To <User>(User.Url + "/" + userId); }
public bool Delete(int id) { return(_api.Delete().To <Project>(Project.Url + "/" + id) == null); }
public bool Delete(int id) { return(_api.Delete().To <bool>(Project.Url + "/" + id)); }
public void Delete(int id) { _api.Delete().To <Project>(Project.Url + "/" + id); }
public Label Delete(LabelDelete label) { return(_api.Delete().With(label).To <Label>(string.Format(ProjectLabelUrl, label.Id))); }