public ICollection<RelaxBuildDefinition> GetBuilds(string teamProjectId, BaseEntity entity)
        {
            try
            {
                var repository = new BuildServiceRepository(entity);
                var relaxrepository= new RelaxRepository(entity);

                return repository.GetBuilds(relaxrepository.GetTeamProject(int.Parse(teamProjectId)).Name);
            }
            catch (Exception e)
            {
                _eventLog.WriteEntry(e.Message, EventLogEntryType.Error);
                return null;
            }
        }
 public ICollection<RelaxTeamProjectCollection> GetTeamProjectCollections(BaseEntity entity)
 {
     try
     {
         var repository = new RelaxRepository(entity);
         return repository.GetTeamProjectCollections();
     }
     catch (Exception e)
     {
         _eventLog.WriteEntry(e.Message, EventLogEntryType.Error);
         return null;
     }
 }