public async Task <IActionResult> DeleteTodo(long id) { await _todosService.DeleteTodoByIdAsync(id); return(NoContent()); }