private async void RemoveConsultantFromCompany_Clicked(object sender, EventArgs e)
        {
            bool b = await companyServices.DeleteUserFromCompanyByIdAsync(int.Parse(idCompany), userId);

            if (b == true)
            {
                await DisplayAlert("Warning", $"The consultant is removed from the company.", "Ok");
            }
            else
            {
                await DisplayAlert("Warning", $"Could not remove the consultant from the company.", "Ok");
            }
            Application.Current.MainPage = new CompanyUserListPage();
        }