Lightly spray a baking dish with cooking spray. Place the cod in the pan, and season with salt and pepper if desired.
Bake the cod at 400 degrees for about 15-20 minutes, or until it flakes easily with a fork. Thicker fillets will need to cook longer.
In a large bowl, stir and combine all ingredients except the cod. Add the cooked fish and fold gently until fish is evenly distributed.
Form into 6 patties, each about ½ cup. Place them on a foil lined pan and refrigerate for at least an hour to firm them up.
When it’s time to cook, heat a large skillet with vegetable oil and a little butter. Fry the patties until golden, about 3-5 minutes per side. Serve with lettuce and tomato, with or without a bun.