app/Http/Controllers/NgaoController.php
//Shows specific data in the DB
Shows specific data in the DB
Shows specific data in the DB
public function show($id)
    {
        $ngao = Ussd::findOrFail($id);
        return new Ussddata($ngao);
    }
public function show ( $ id ) { $ ngao = Ussd :: findOrFail ( $ id ) ; return new Ussddata ( $ ngao ) ; }
Shows specific data in the DB
Shows specific data in the DB
//returns a single data in DB