Mineplex2018-withcommit/Website/Nautilus.Web.Impulse/Controllers/StatsController.cs

21 lines
502 B
C#
Raw Normal View History

2013-08-27 17:14:08 +02:00
namespace LOC.Website.Web.Controllers
{
using System.Web.Mvc;
using Common.Models;
public class StatsController : Controller
{
private readonly IDominateAdministrator _dominateAdministrator;
public StatsController(IDominateAdministrator dominateAdministrator)
{
_dominateAdministrator = dominateAdministrator;
}
public ActionResult Index()
{
return View(_dominateAdministrator.GetStats());
}
}
}