private async Task GetUserInformation() { var plans = await DatabaseMethods.GetPlans(); var trainings = await DatabaseMethods.GetTrainings(); var measurments = await DatabaseMethods.GetMeasurements(); var info = await DatabaseMethods.GetAccount(); Account userInfo = info[0]; PlansCount = plans.Count; TrainingsCount = trainings.Count; MeasurmentsCount = measurments.Count; Firstname = userInfo.Name; Email = userInfo.Email; }