Ejemplo n.º 1
0
        public static List<User> getUserList()
        {
            List<User> users = new List<User>();

            // TODO: replace this list with getting and creating users
            // from SQL information
            User a = new Doctor();
            a.username = "******";
            a.password = "******";
            User b = new Volunteer();
            b.username = "******";
            b.password = "******";
            User c = new OfficeStaff();
            c.username = "******";
            c.password = "******";
            User d = new MedStaff();
            d.username = "******";
            d.password = "******";
            User e = new Admin();
            e.username = "******";
            e.password = "******";

            users.Add(a);
            users.Add(b);
            users.Add(c);
            users.Add(d);
            users.Add(e);


            return users;
        }
Ejemplo n.º 2
0
        public static List <User> getUserList()
        {
            List <User> users = new List <User>();

            // TODO: replace this list with getting and creating users
            // from SQL information
            User a = new Doctor();

            a.username = "******";
            a.password = "******";
            User b = new Volunteer();

            b.username = "******";
            b.password = "******";
            User c = new OfficeStaff();

            c.username = "******";
            c.password = "******";
            User d = new MedStaff();

            d.username = "******";
            d.password = "******";
            User e = new Admin();

            e.username = "******";
            e.password = "******";

            users.Add(a);
            users.Add(b);
            users.Add(c);
            users.Add(d);
            users.Add(e);


            return(users);
        }