Example #1
0
        private List <User> initializeData()
        {
            DBRepository db = new DBRepository();

            try
            {
                var localDBUsers = db.GetUserData();
                return(localDBUsers);
            }
            catch (Exception ex)
            {
                db.CreateTable();
                return(null);
            }
        }