Pass data to layout that are common to all pages
If you are required to pass the same properties to each page, then creating a base viewmodel that is used by all your view models would be wise. Your layout page can then take this base model. If there is logic required behind this data, then this should be put into a base controller that … Read more