메소드 |
설명 |
|
__construct ( App\Contracts\Repositories\NewsRepository $news, App\Contracts\Repositories\NewsCategoryRepository $category ) |
|
|
create ( ) : Response |
Show the form for creating a new resource. |
|
destroy ( integer $id ) : Response |
Remove the specified resource from storage. |
|
edit ( integer $id ) : Response |
Show the form for editing the specified resource. |
|
index ( ) : Response |
Display a listing of the resource. |
|
show ( integer $id ) : Response |
Display the specified resource. |
|
store ( NewsCreateRequest $request ) : Response |
Store a newly created resource in storage. |
|
update ( App\Http\Requests\Backend\NewsUpdateRequest $request, integer $id ) : Response |
Update the specified resource in storage. |
|