Ejemplo n.º 1
0
        public async Task <GuidesIdsCollection> GetGuidesIdsAsync()
        {
            var mnnGuideIds = await _mnnGuideRepository.GetIdsAsync("sp_mnn.dbf");

            var tradeNameIds = await _tradeNameGuideRepository.GetIdsAsync("sp_trn.dbf");

            var drugIds = await _drugGuideRepository.GetIdsAsync("sp_tov.dbf");

            var drugformIds = await _drugformGuideRepository.GetIdsAsync("sp_lf.dbf");

            var guidesIdsCollection = new GuidesIdsCollection()
            {
                MnnGuideIs        = mnnGuideIds,
                TradeNamesGudeIds = tradeNameIds,
                DrugGuideIds      = drugIds,
                DrugformIds       = drugformIds
            };

            return(guidesIdsCollection);
        }
Ejemplo n.º 2
0
        public async Task <HashSet <int> > GetTradeNameIdsAsync(string guideFileName)
        {
            var tradeNameIds = await _tradeNameGuideRepository.GetIdsAsync(guideFileName);

            return(tradeNameIds);
        }
Ejemplo n.º 3
0
        public async Task <HashSet <int> > GetDrugformIdsAsync(string guideFileName)
        {
            var drugformIds = await _drugformGuideRepository.GetIdsAsync(guideFileName);

            return(drugformIds);
        }
Ejemplo n.º 4
0
        public async Task <HashSet <int> > GetMnnIdsAsync(string guideFileName)
        {
            var mnnGuideIds = await _mnnGuideRepository.GetIdsAsync(guideFileName);

            return(mnnGuideIds);
        }