12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- namespace App\Http\Controllers\Channel\Promotion;
- use App\Http\Controllers\Channel\BaseController;
- use App\Http\Controllers\Channel\Promotion\Transformers\BodyTemplatesTransformer;
- use App\Modules\Promotion\Services\PromotionService;
- use DB;
- class BodyTemplatesController extends BaseController
- {
-
-
- function getPromotionBodyTemplates()
- {
- $promotionBodyTemplatesResult = PromotionService::getAllBodyTemplates();
- return response()->collection(new BodyTemplatesTransformer(), $promotionBodyTemplatesResult);
- }
- }
|