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

22 lines
485 B
C#
Raw Normal View History

2013-08-27 17:14:08 +02:00
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());
}
}
}