I have an Mvc 4 webapp where in one of the controllers I somehow want to use the following function:
[
Authorize(Roles = "Administrators")]
publicasyncTask<ActionResult> SaveProduct(ProductEditproduct) { product =
awaitproduct.Save();
returnRedirectToAction("Index"); } Is there a way to make an EditableRoot.Save() to work with async/await? Thanks, Peter