public bool CheckLoginInfo(string cardNumber, string pin)
        {
            CardRepository cardRepository = new CardRepository();

            return(cardRepository.CheckCard(cardNumber, new CardGenerator().HashPin(pin)));
        }
Exemple #2
0
        public bool CheckCard(string cardPan, out Card card)
        {
            CardRepository cardDAO = new CardRepository();

            return(cardDAO.CheckCard(cardPan, out card));
        }