public void Apply(Game g, IAccountingService accounting) { g.Type = Type; g.Award = Award; g.TimeLimit = TimeLimit; base.Apply(g, accounting); }
public static GameEditModel FromDomain(Game g, IAccountingService accounting) { var x = new GameEditModel { Type = g.Type, Award = g.Award, TimeLimit = g.TimeLimit, }; x.Init(g, accounting); return x; }