public function destroy(Request $request, $id)
    {
        $deleted = (new Services\GroupsService)->dataDelete($id, $request->all());
        return response()->json(['deleted' => $deleted]);
    }
public function destroy(Request $request, $id)
    {
        $deleted = (new Services\GroupsService)->dataDelete($id, $request->all());
        return response()->json(['deleted' => $deleted]);
    }
public function destroy ( Request $ request , $ id ) { $ deleted = ( new Services \ GroupsService ) -> dataDelete ( $ id , $ request -> all ( ) ) ; return response ( ) -> json ( [ 'deleted' => $ deleted ] ) ; }
Remove o registro especificado do banco de dados.

@param \Illuminate\Http\Request $request
@param  int $id
@return \Illuminate\Http\Response
Remove o registro especificado do banco de dados .