Example #1
0
        public async Task <bool> LoadLink()
        {
            ValueDTO <LienKetPHvsHS> val = await new LienKetPHvsHS().GetData(App.IDAccount);

            if (val.Error != 0)
            {
                await DisplayAlert("Thông báo", error.IDErrorToNotify(val.Error), "OK");

                btn_Login.IsEnabled = true;
                App.ResetSource();
                return(false);
            }
            else
            {
                App.lstPHvsHs = val.ListT;
                return(true);
            }
        }