public async Task <IActionResult> DeleteTodoItem(string id) { var result = await _todoAppService.DeleteTodoAsync(id); if (result == null) { return(NotFound()); } return(Ok()); }
public async Task <IActionResult> DeleteTodoItem(string id) { var result = await _todoAppService.DeleteTodoAsync(id); if (result == null) { return(NotFound()); } return(Ok()); }