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