How to Cook a Beef Tenderloin?

1 sliced onion 2 tbs ginger 2 cloves fresh minced garlic 1/2 cup soy and 3/4 cup sherry. Place sliced onion at bottom of pan rub beef in ginger and garlic.Cooking at 450 for 25-35 minutes basting it with the soyr and sherry sauce.