Created
April 16, 2013 09:45
-
-
Save marckm/5394710 to your computer and use it in GitHub Desktop.
Very simple API values controller
This file contains hidden or 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
namespace DataIntegrationService.WebApi.Controllers | |
{ | |
using System.Collections.Generic; | |
using System.Web.Http; | |
/// <summary> | |
/// Sample Api controller. | |
/// </summary> | |
public class ValuesController : ApiController | |
{ | |
// GET api/values | |
public IEnumerable<string> Get() | |
{ | |
return new string[] { "value1", "value2" }; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment