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); }
public bool Delete([FromBody] TreatmentDeleteRequest request) { return(_treatmentManager.DeleteTreatment(request)); }