I have a multi tenant application. I would like to be able to load the base view with resources being loaded dynamically depending on the current tenant. The directory structure is as below:
Project Themes Theme1 Views Resources resource1.resx Theme2 Views Resources resource1.resx Views Resources resource1.resx index.cshtml
Now say my index file has the following code:
When I render the view, I want to load the resource depending on the current theme. And if the resource is not available in the theme, load it from the base resource file i.e the provided path.