Exemple #1
0
        public String FormUrgentOrder(string medicine)
        {
            List <String> pharmacies = new List <String>();

            foreach (RegistrationInPharmacy registrationInPharmacy in HttpRequests.GetRegistrationsInPharmaciesAll())
            {
                DefineTyepOfApiKey(medicine, pharmacies, registrationInPharmacy);
            }
            return((pharmacies.Count != 0) ? pharmacies[0] : null);
        }
Exemple #2
0
 public Boolean SendReport(DateOfOrder date)
 {
     try
     {
         foreach (RegistrationInPharmacy registrationInPharmacy in HttpRequests.GetRegistrationsInPharmaciesAll())
         {
             DefineTyepOfApiKey(date, registrationInPharmacy);
         }
         return(true);
     }
     catch (Exception e) { return(false); }
 }