public function index()
 {
     $dealspartners = Dealspartner::orderBy('updated_at', 'desc')->get();
     return View::make('Middle.Web.Dealspartner.index', compact('dealspartners'));
 }
 public function index()
 {
     $dealspartners = Dealspartner::orderBy('updated_at', 'desc')->get();
     return response(['data' => $dealspartners, 'status' => 'success', 'message' => '']);
 }