public static CardProvider GetInstance()
 {
     if (instance == null)
     {
         instance = new CardProvider();
     }
     return(instance);
 }
 public static CardProvider GetInstance()
 {
     if (instance == null)
         instance = new CardProvider();
     return instance;
 }