public IReadOnlyCollection <CardTypesData> GetCardTypes()
 {
     return(CardTypes
            .Select(type => new CardTypesData(type.CardTypeId, type.Name))
            .ToList());
 }