Ejemplo n.º 1
0
        public void Apply(Game g, IAccountingService accounting)
		{
		    g.Type = Type;
            g.Award = Award;
            g.TimeLimit = TimeLimit;
            base.Apply(g, accounting);
        }
Ejemplo n.º 2
0
		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;
		}