public async Task <IActionResult> DeleteSymptom([FromRoute] int id)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var symptom = await _symptomService.GetByIdAsync(id);

            if (symptom == null)
            {
                return(NotFound());
            }

            await _symptomService.Remove(id);

            return(Ok(symptom));
        }