/**
  * Displays the details of the aLaCarte matching
  * passed id.
  * 
  * @access	public
  * @param	string	$name
  * @return	json
  * @since	1.0.0
  */
 public function show($aLaCarteID)
 {
     $arrALaCarte = ALaCarte::getALaCarteDetails($aLaCarteID);
     return response()->json($arrALaCarte, 200);
 }
 /**
  * Handles requests for showing the details of the 
  * passed resource type matchning passed resource id.
  * 
  * @access	public
  * @param	string		$resourceType
  * @param	integer		$resourceID
  * @return	response
  * @since	1.0.0
  */
 public function getResourceDetail($resourceType, $resourceID)
 {
     $data = array('vendorID' => $resourceID);
     //Validate vendor exist or not
     $validator = Validator::make($data, ALaCarte::$arrRules);
     if ($validator->fails()) {
         $message = $validator->messages();
         $errorMessage = "";
         foreach ($data as $key => $value) {
             if ($message->has($key)) {
                 $errorMessage .= $message->first($key) . '\\n ';
             }
         }
         $arrResponse['status'] = Config::get('constants.API_SUCCESS');
         $arrResponse['msg'] = $errorMessage;
         return response()->json($arrResponse, 200);
     } else {
         return response()->json(ALaCarte::getResturantBranchesInformation($resourceID), 200);
     }
 }