I'm using Umbraco 7 and i want to create a custom action where i retrieve some data from a webservice asynchronously but the following code doesnt work:
public async override Task<ActionResult> TestAction(RenderModel model)
{
await AsyncOperation();
return base.Index(model);
}
public async Task AsyncOperation()
{
}
MVC async operations in custom Action Umbraco 7
Hello there,
I'm using Umbraco 7 and i want to create a custom action where i retrieve some data from a webservice asynchronously but the following code doesnt work:
Is there another way to make this work?
is working on a reply...