mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
25 lines
611 B
C#
25 lines
611 B
C#
using BuildFeed.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
|
|
namespace BuildFeed.Areas.admin.Controllers
|
|
{
|
|
[Authorize(Roles = "Administrators")]
|
|
public class metaController : Controller
|
|
{
|
|
// GET: admin/meta
|
|
public ActionResult index()
|
|
{
|
|
var currentItems = from i in MetaItem.Select()
|
|
group i by i.Id.Type into b
|
|
select b;
|
|
|
|
var pendingLabs = MetaItem.SelectUnusedLabs();
|
|
|
|
return View();
|
|
}
|
|
}
|
|
} |