public function getUserHome()
 {
     $response = ApiResponseClass::successResponse([1 => 'sumit'], [1 => 'none']);
     echo $response;
     return View::make('user.home')->with('response', $response);
 }
 public function postDeleteEventTypes()
 {
     $request = ['event_type_id' => Input::get('event_type_id')];
     $event_type = EventTypes::find($request['event_type_id']);
     if ($event_type->delete()) {
         $response = ApiResponseClass::successResponse($event_type, $request);
     } else {
         $response = ApiResponseClass::errorResponse('Not Deleted', 'Event Type Not Deleted.', $request);
     }
     return $response;
 }