Preheat your oven to 375°F (190°C). Lightly grease a 9 × 13-inch baking dish with cooking spray or a little olive oil.
Heat olive oil in a large skillet over medium heat. Add the diced onion and bell peppers. Cook for 5–6 minutes, stirring occasionally, until the vegetables soften.
Stir in the minced garlic, cumin, chili powder, smoked paprika, salt, and black pepper. Cook for another 30 seconds until fragrant.
Add the black beans, corn, and diced green chilies to the skillet. Stir everything together and cook for 2–3 minutes until heated through. Remove the skillet from the heat.
Spread about ½ cup of enchilada sauce across the bottom of the prepared baking dish.
Arrange a layer of quartered corn tortillas over the sauce, slightly overlapping the pieces to cover the bottom.
Spoon half of the vegetable and black bean mixture over the tortillas. Drizzle with about ½ cup of enchilada sauce and sprinkle with ½ cup of shredded cheese.
Add another layer of tortillas, followed by the remaining vegetable filling. Pour another ½ cup of enchilada sauce over the filling and sprinkle with another ½ cup of cheese.
Finish with the remaining tortillas, enchilada sauce, and shredded cheese, spreading the ingredients evenly across the top. Cover the baking dish loosely with aluminum foil and bake for 20 minutes.
Remove the foil and bake for another 10–12 minutes, until the cheese is melted, lightly golden, and bubbling around the edges. Remove the casserole from the oven and let it rest for 5–10 minutes before slicing. Sprinkle chopped fresh cilantro over the top and serve warm.