/**
  * Remove the specified resource from storage.
  *
  * @param int $id
  *
  * @return \Illuminate\Http\Response
  */
 public function destroy(SmallGroup $smallgroup)
 {
     $smallgroup->delete();
     flash()->success('Done.', 'Deleted Smallgroup');
     return redirect('/home/smallgroups');
 }
 /**
  * Show a list a smallgroups.
  *
  * @return SmallGroup
  */
 public function smallGroups()
 {
     $smallgroups = SmallGroup::latest()->get()->all();
     return view('pages.smallgroups', compact('smallgroups'));
 }