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

21 lines
593 B
C#

namespace LOC.Website.Web.ViewModels
{
using System.Collections.Generic;
using Common.Models;
using Core.Model.Sales;
public class StoreViewModel : IStoreViewModel
{
private readonly ISalesPackageAdministrator _salesPackageAdministrator;
public StoreViewModel(ISalesPackageAdministrator salesPackageAdministrator)
{
_salesPackageAdministrator = salesPackageAdministrator;
}
public List<SalesPackage> SalesPackages
{
get { return _salesPackageAdministrator.GetSalesPackages(); }
}
}
}