public void AddOrUpdate(Patent p, string appNo, string productNo)
        {
            ImporterCacheKeyApplication key = new ImporterCacheKeyApplication
            {
                AppNo     = appNo,
                ProductNo = productNo
            };

            Guid appId, drugId;

            if (AppToApp.TryGetValue(key, out appId) && AppToDrug.TryGetValue(key, out drugId))
            {
                p.Id            = Guid.NewGuid();
                p.ApplicationId = appId;
                p.DrugId        = drugId;
                Patents.Add(p);
            }
        }
        public void AddOrUpdate(Exclusivity exc, string appNo, string productNo)
        {
            ImporterCacheKeyApplication key = new ImporterCacheKeyApplication
            {
                AppNo     = appNo,
                ProductNo = productNo
            };

            Guid appId, drugId;

            if (AppToApp.TryGetValue(key, out appId) && AppToDrug.TryGetValue(key, out drugId))
            {
                exc.Id            = Guid.NewGuid();
                exc.ApplicationId = appId;
                exc.DrugId        = drugId;
                Exclusivities.Add(exc);
            }
        }