27 lines
702 B
C#
27 lines
702 B
C#
using System.Collections.Generic;
|
|
using BS.Shared.DataContracts;
|
|
|
|
namespace BeWo.ViewModel.ListViewModel
|
|
{
|
|
public class GoalRatingListVM : AbstractDCListMapperVM<GoalRatingDC, GoalRatingVM>
|
|
{
|
|
|
|
public static string PropertyName_AllRatingTypes = "AllRatingTypes";
|
|
|
|
public List<RatingTypeDC> AllRatingTypes { get; }
|
|
|
|
|
|
public GoalRatingListVM(IEnumerable<GoalRatingDC> pList, List<RatingTypeDC> allRatingTypes) : base(pList)
|
|
{
|
|
AllRatingTypes = allRatingTypes;
|
|
}
|
|
|
|
protected override GoalRatingVM CreateVM(GoalRatingDC pDC)
|
|
{
|
|
var vm = base.CreateVM(pDC);
|
|
|
|
|
|
return vm;
|
|
}
|
|
}
|
|
} |