Mineplex2018-withcommit/Website/Nautilus.Web.Impulse/Controllers/StoreController.cs
Jonathan Williams 3fb52c5c71 Initial Commit
2013-08-27 08:14:08 -07:00

22 lines
485 B
C#

namespace LOC.Website.Web.Controllers
{
using System.Linq;
using System.Web.Mvc;
using ViewModels;
public class StoreController : Controller
{
private readonly IStoreViewModel _storeModel;
public StoreController(IStoreViewModel storeModel)
{
_storeModel = storeModel;
}
public ActionResult Index()
{
return View(_storeModel.SalesPackages.Where(x => !x.Test).ToList());
}
}
}