public bool IsAccountActive(int cardNumber)
 {
     if (_cardRepository.GetAccountCancelDate(cardNumber) == DateTime.MinValue)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }