Is this correct?or should the definite article be omitted?
If the restaurant is called "Pepper Moon" then it's optional as bhaisahab said. I prefer it with the article if you're going to use the word "restaurant" directly after the name.
I like the Pepper Moon restaurant.
I like Pepper Moon. It's a great restaurant.