Exemplo n.º 1
0
        public async Task ClearDB()
        {
            await MapPoint.ClearTable();

            await WorkoutItem.ClearTable();

            await UserItem.ClearTable();
        }
Exemplo n.º 2
0
        public async Task <bool> AcountExist()
        {
            UserItemManager userManager = DBConnection.MainConnection.UserItem;
            await userManager.ClearTable();

            var isLogged = await userManager.GetItemsAsync(true, false);

            if (isLogged.Count == 1)
            {
                return(await Task.FromResult(true));
            }
            else
            {
                return(await Task.FromResult(false));
            }
        }