Hi,
If I create a new website setting, ie TestCount, as int32 and set the default value to 30 and save it and close, the website setting is not set by the default value, it's 0.
Website setting:
In cshtml I can get the website setting value with:
int count = Pageview.AreaSettings.GetInt32("TestCount");
But how can I set a website setting vaule in cshtm?
I have trie with:
Model.Area.Item.Fields.Where(x => x.SystemName == "TestCount").SingleOrDefault().Value
but Value has only the Get property