mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
38e54126ee
Also support multi-line source detail fields.
24 lines
486 B
C#
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);
|
|
}
|
|
}
|
|
}
|