BuildFeed/Controllers/apiController.cs
Thomas Hounsell 38e54126ee IsLeaked Property added, GetWin10Labs API
Also support multi-line source detail fields.
2014-10-27 10:14:31 +00:00

24 lines
486 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using BuildFeed.Models;
namespace BuildFeed.Controllers
{
public class apiController : ApiController
{
public IEnumerable<Build> GetBuilds()
{
return Build.SelectInBuildOrder();
}
public IEnumerable<string> GetWin10Labs()
{
return Build.SelectBuildLabs(6, 4);
}
}
}