app/Http/Controllers/Admin/SizeController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Size  $size
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Size $size)
    {
        $size->delete();
        return response()->json([
            'status' => 'deleted'
        ], 200);
    }
public function destroy ( Size $ size ) { $ size -> delete ( ) ; return response ( ) -> json ( [ 'status' => 'deleted' ] , 200 ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .