public function destroy(Dealspartner $dealspartner)
 {
     if (is_integer($dealspartner)) {
         $dealspartner = Dealspartner::find($dealspartner);
     }
     $dealspartner->delete();
     Flash::success('Dealspartner has been created Deleted!');
     return Redirect::back();
 }
 public function destroy($dealspartner)
 {
     $dealspartner = Dealspartner::find($dealspartner);
     $dealspartner->delete();
     return response(['data' => true, 'status' => 'success', 'message' => 'successfully deleted']);
 }