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