public async Task <TreatmentResponse> DeleteAsync(int id)
        {
            var existingTreatment = await _treatmentRepository.FindById(id);

            if (existingTreatment == null)
            {
                return(new TreatmentResponse("Treatment not found"));
            }
            try
            {
                _treatmentRepository.Remove(existingTreatment);
                await _unitOfWork.CompleteAsync();

                return(new TreatmentResponse(existingTreatment));
            }
            catch (Exception ex)
            {
                return(new TreatmentResponse($"An error ocurred while deleting treatment: {ex.Message}"));
            }
        }