BuildFeed/Controllers/apiController.cs

24 lines
486 B
C#
Raw Normal View History

2014-10-11 06:57:02 +08:00
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);
}
2014-10-11 06:57:02 +08:00
}
}