Ejemplo n.º 1
0
 public static DAL.Entities.RoundPlayerCard ToEntity(RoundPlayerCard roundPlayerCard)
 {
     DAL.Entities.RoundPlayerCard roundPlayerCardOut = new DAL.Entities.RoundPlayerCard
     {
         CardId        = roundPlayerCard.CardId,
         RoundPlayerId = roundPlayerCard.RoundPlayerId,
         NumberCard    = roundPlayerCard.NumberCard
     };
     return(roundPlayerCardOut);
 }
Ejemplo n.º 2
0
        public static RoundPlayerCard ToModel(DAL.Entities.RoundPlayerCard roundPlayerCard)
        {
            RoundPlayerCard roundPlayerCardOut = new RoundPlayerCard
            {
                CardId        = roundPlayerCard.CardId,
                RoundPlayerId = roundPlayerCard.RoundPlayerId,
                NumberCard    = roundPlayerCard.NumberCard
            };

            return(roundPlayerCardOut);
        }