public List <Card> GetCards()
        {
            List <Card> cards = new List <Card>();

            foreach (var a in accrepository.GetCards())
            {
                cards.Add(a);
            }
            return(cards);
        }