i lost access to my bitcoin
I'm sorry to say that you were scammed. Do not ever give someone your wallet identifier, password, private keys, seed phrase, etc! 


  later told me to give him my id and password so he can connect to a miner i asked y he said to make it possible to profit


This is not how mining works at all. The scammer enticed you with 'profits', but in reality there were no mining profits. The scammer simply wanted you to think there was, in an effort to get more btc out of you.

What likely happened: When the scammer logged into your wallet, they made a copy of your wallet's seed phrase. With that phrase alone they can re-create your wallet on any other device, and they will have full access to your bitcoin. Your password protects the login to blockchain.info, but if you use the seed phrase to re-create the wallet on another device using different software, the password will not be required. 

The second thing the attacker did was add a 'watch-only' bitcoin address to your wallet. Your wallet shows you the balance of that bitcoin address, but your wallet does not have the private key for that address, and thus cannot spend the bitcoin located there. 

Once that is set up, the scammer will send some bitcoin to the watch-only address, and tell you it is 'mining profits'. This is a lie, while you thought you were generating profits, the real story is the scammer was just slowly adding bitcoin to that address, while telling you to deposit more btc to your wallet. Once you deposited more bitcoin, the attacker could use the seed phrase to recreate your wallet, and steal your bitcoin.

Sorry for your losses :(

At this point, abandon that wallet, do not ever use it to store bitcoin again. Create a new wallet, and be sure to guard it carefully.