Mineplex2018-withcommit/Website/LOC.Website.Web/ViewModels/StoreViewModel.cs

21 lines
593 B
C#
Raw Normal View History

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