The parking brake cable or linkage was not installed or adjusted correctly. I agree that whomever did it should fix it as the job is not correct unless the p-brake functions correctly. If you must do it yourself there are lots of threads explaining how to do parking brake adjustments. "Search" is your friend.