Beispiel #1
0
 public static void add_admin(classAdmin adm)
 {
     if (db.Count == 0)
     {
         db.Add(adm);
     }
 }
Beispiel #2
0
        public void initiate()
        {
            classAdmin adm = new classAdmin();

            adm.Name     = "Team Xploiter";
            adm.Email    = "admin";
            adm.Password = "******";
            adm.Adress   = "7A Block R3 MA Johar Town Lahore";
            classdbAdmin.db.Add(adm);
        }