public bool Any(RemoveLocation request) { return(workflow.Remove(request.ID)); }
public IActionResult Delete(int id, [FromServices] RemoveLocation command) { _executor.ExecuteCommand(command, id); return(NoContent()); }