Ejemplo n.º 1
0
        public DataSource Get(int Id)
        {
            var dataSource = _dataSourceRepository.Get(Id);

            dataSource = this.Create(dataSource);
            return(dataSource);
        }
 public bool SelectSource(int option)
 {
     try
     {
         _miner.LoadItemSet(_dataSourceRepository.Get(option));
         return(true);
     }
     catch (Exception e)
     {
         Logger.Log(e.Message);
         return(false);
     }
 }