コード例 #1
0
        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));
        }
コード例 #2
0
 public void Delete(Symptom entity)
 {
     _symptomService.Delete(entity);
 }