public async Task <IActionResult> Delete([FromQuery] int symptomId) { var outputHandler = await _service.Delete(symptomId); if (outputHandler.IsErrorOccured) { return(BadRequest(outputHandler.Message)); } return(Ok(outputHandler.Message)); }
public void Delete(Symptom entity) { _symptomService.Delete(entity); }