using System.Collections.Generic;

using BS.Shared.DataContracts;

namespace BeWo.ViewModel.ListViewModel
{
    public class TextbausteinListVM : AbstractDCListMapperVM<TextbausteinDC, TextbausteinVM>
    {
        public static string PropertyName_PossibleCategories = "PossibleCategories";

        private readonly List<ServiceCategoryDC> _PossibleCategories;

        public TextbausteinListVM(IEnumerable<TextbausteinDC> pDataContracts, List<ServiceCategoryDC> pPossibleCategories) : base(pDataContracts)
        {
            _PossibleCategories = pPossibleCategories;
        }

        public IEnumerable<ServiceCategoryDC> PossibleCategories
        {
            get { return _PossibleCategories; }
        }
    }
}
