fbde835404
Partially addresses #47424.
11 lines
205 B
Ruby
11 lines
205 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Notes
|
|
class DestroyService < BaseService
|
|
def execute(note)
|
|
TodoService.new.destroy_target(note) do |note|
|
|
note.destroy
|
|
end
|
|
end
|
|
end
|
|
end
|