public IList <ICEBuildIssue> GetBuildRelatedIssues(long buildId)
        {
            var builds = _service.GetBuildRelatedIssues(buildId);

            return(TeamCityBuildAdapter.Translate(builds));
        }
        public IList <ICEBuildArtifact> GetBuildArtifacts(long buildId)
        {
            var builds = _service.GetBuildArtifacts(buildId);

            return(TeamCityBuildAdapter.Translate(builds));
        }
        public IList <ICEBuild> GetQueuedBuilds()
        {
            var builds = _service.GetQueuedBuilds();

            return(TeamCityBuildAdapter.Translate(builds));
        }
        public IList <ICEBuildDetails> GetBuildsByPullRequest(int pullRequestNumber)
        {
            var builds = _service.GetBuildsByPullRequest(pullRequestNumber);

            return(TeamCityBuildAdapter.Translate(builds));
        }
        public IList <ICEBuild> GetBuildTypeBuildsQuery(string buildType)
        {
            var builds = _service.GetBuildTypeBuilds(buildType);

            return(TeamCityBuildAdapter.Translate(builds));
        }
        public ICEBuildDetails GetBuild(long id)
        {
            var build = _service.GetBuild(id);

            return(TeamCityBuildAdapter.Translate(build));
        }
        public ICEBuildDetails GetAutoMergeBuild()
        {
            var build = _service.GetAdvantageAutoMergeBuild();

            return(TeamCityBuildAdapter.Translate(build));
        }