Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Severity Code Description Project File Line Suppression State
Error CS1061 'UmbracoHelper' does not contain a definition for 'Web' and no accessible extension method 'Web' accepting a first argument of type 'UmbracoHelper' could be found (are you missing a using directive or an assembly reference?)
Please help me.
We can use Umbraco Helper in the controller like below, if you want to use the helper in any services then you can pass it from the controller.
public async Task<HttpResponseMessage> Gender()
//Umbraco - you can access umbracohelper from Controller (and it's referenced from Umbraco.Web)
return Umbraco.GetDictionaryValue("Gender Male", "Male")
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted