Пример #1
0
 public UrgentOrderService(MyDbContext context)
 {
     HttpRequests = new HttpRequests();
     MedicineAvailabilityTable     = new MedicineAvailabilityTable();
     UrgentMedicineOrderRepository = new UrgentMedicineOrderRepository(context);
     PharmacyFactoryGrpcAndSftp    = new PharmacyFactoryGrpcAndSftp();
     PharmacyFactoryHttp           = new PharmacyFactoryHttp();
     Context = context;
 }
Пример #2
0
 public List <MedicineName> CheckMedicineAvailability2(string medicine)
 {
     return(MedicineAvailabilityTable.FormMedicineAvailability(HttpRequests.FormMedicineAvailabilityRequest2(medicine)));
 }