Seperated the application back into a seperate project

webfront is just a library now
This commit is contained in:
RaidMax
2018-04-08 13:48:40 -05:00
parent 06d3de375b
commit 6d5c368954
20 changed files with 133 additions and 57 deletions

View File

@ -2,7 +2,6 @@
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using WebfrontCore.Application.API;
namespace WebfrontCore.Controllers.API
{
@ -12,7 +11,7 @@ namespace WebfrontCore.Controllers.API
[Route("event")]
public ActionResult Index()
{
var events = EventAPI.Events;
var events = Manager.GetEventApi().GetEvents();
var eventsDto = new List<EventInfo>();
while (events.Count > 0)
eventsDto.Add(events.Dequeue());