public void GetMedicationTest()
        {
            testmedi             = new Medication();
            testmedi.Description = "test";
            testmedi.Value       = 99999;
            medicationDao.RegisterMedication(testmedi);
            int mediID = medicationDao.Medications.SingleOrDefault(Medication => Medication.Description == "test").MedicalID;
            var result = medicationDao.GetMedication(mediID).Description;
            var me     = medicationDao.Medications.SingleOrDefault(Medication => Medication.Description == "test");

            medicationDao.Medications.Remove(me);
            medicationDao.SaveChanges();
            Assert.AreEqual(result, "test");
        }
 public bool AddMedication(Medication med)
 {
     medicationDao.RegisterMedication(med);
     return(true);
 }