public function saveProspectsDatas($datas, $prosId = null){
	    
	    $prospectsTable = $this->getServiceLocator()->get('MelisProspects');
	    
	    try 
	    {
	        $datas['pros_theme'] = !empty($datas['pros_theme']) ? $datas['pros_theme'] : null;
	        $prosId = $prospectsTable->save($datas, $prosId);
	    }
	    catch (\Exception $e)
	    {
	        echo $e->getMessage();
	    }
	    
	    return $prosId;
	}
public function saveProspectsDatas($datas, $prosId = null){
	    
	    $prospectsTable = $this->getServiceLocator()->get('MelisProspects');
	    
	    try 
	    {
	        $datas['pros_theme'] = !empty($datas['pros_theme']) ? $datas['pros_theme'] : null;
	        $prosId = $prospectsTable->save($datas, $prosId);
	    }
	    catch (\Exception $e)
	    {
	        echo $e->getMessage();
	    }
	    
	    return $prosId;
	}
public function saveProspectsDatas ( $ datas , $ prosId = null ) { $ prospectsTable = $ this -> getServiceLocator ( ) -> get ( 'MelisProspects' ) ; try { $ datas [ 'pros_theme' ] = ! empty ( $ datas [ 'pros_theme' ] ) ? $ datas [ 'pros_theme' ] : null ; $ prosId = $ prospectsTable -> save ( $ datas , $ prosId ) ; } catch ( \ Exception $ e ) { echo $ e -> getMessage ( ) ; } return $ prosId ; }
Save a prospect in the database

@param array $datas The datas to be saved
@param int $prosId The id of the prospect in case of update
Save a prospect in the database