public static DomainCards ToDomain(this InfastructureCard @this) { return(new DomainCards { CardMoney = @this.CardMoney, CardName = @this.CardName, Id = @this.Id, NumberCard = @this.NumberCard, // User = @this.User, UserId = @this.UserId }); }
public void AddNewCard(InfastructureCard card, int userId) { throw new NotImplementedException(); }