public IActionResult DeleteTreatment(int treatmentTypeId) { try { _treatmentService.DeleteTreatment(treatmentTypeId, UserId); return(Ok(HttpStatusCode.NoContent)); } catch (Exception ex) { return(BadRequest(ex)); } }