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