DRY up orders controller