Created
May 12, 2016 21:12
-
-
Save SimonDoy/4192427356563a56011af1a285f41d01 to your computer and use it in GitHub Desktop.
Configuration Controllers with initial implementation, no authentication
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.Net; | |
using System.Net.Http; | |
using System.Web.Http; | |
namespace Itsp365.InvoiceFormApp.Api.Api.Controllers | |
{ | |
public class ConfigurationController : ApiController | |
{ | |
public IDictionary<string,string> Get() | |
{ | |
var configuration = new Dictionary<string, string>(); | |
configuration.Add("SharePointUrl", "https://ithinksharepointltd.sharepoint.com/sites/dev"); | |
return configuration; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment