Exemplo n.º 1
0
        public void DeleteTreatment()
        {
            Treatment treatment = TreatmentFactory.Instance().CreateTreatment(treatmentType, operationRoom, cage, item, DateTime.Now, DateTime.Now, true, "", true, animal, employee, 0);

            TreatmentManager treatmentManager = new TreatmentManager();
            string           treatmentt       = treatmentManager.DeleteTreatment(treatmentID);

            Assert.AreNotEqual("OK", treatmentt);
        }
Exemplo n.º 2
0
 public bool Delete([FromBody] TreatmentDeleteRequest request)
 {
     return(_treatmentManager.DeleteTreatment(request));
 }