Created
August 25, 2014 11:04
-
-
Save nul800sebastiaan/c55db724eaf6c0d73899 to your computer and use it in GitHub Desktop.
PluginController
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Umbraco.Web.WebApi; | |
using Umbraco.Web.Mvc; | |
namespace My.Controllers | |
{ | |
[PluginController("MyPluginName")] | |
public class MyPluginController : UmbracoAuthorizedApiController | |
{ | |
public string GetSomeData(string input) | |
{ | |
var output = input; | |
//Do stuff | |
return output; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment