Ejemplo n.º 1
0
 public int AddPrescription(Prescription prescription)
 {
     if (ValidatePrescription(prescription, false))
     {
         return(_prescriptionRepository.Create(prescription).Id);
     }
     throw new ArgumentException();
 }