Exemple #1
0
        async void Logout()
        {
            var storageService  = new Shared.UI.Services.UiStorage();
            var uxService       = new W8.UI.Services.UiUx();
            var settingsService = new W8.UI.Services.UiSettings();
            var broker          = new Domain.Services.V2_0.ServiceBroker(settingsService.AppKey(), settingsService.AppVersion());
            await Domain.Code.Utils.DoLogOut(storageService, uxService, broker);

            await uxService.ShowToast(International.Translation.LogoutSuccessfull);

            uxService.DoLogOff();
        }
        async void Logout()
        {
            var storageService = new Shared.UI.Services.UiStorage();
            var uxService = new W8.UI.Services.UiUx();
            var settingsService = new W8.UI.Services.UiSettings();
            var broker = new Domain.Services.V2_0.ServiceBroker(settingsService.AppKey(), settingsService.AppVersion());
            await Domain.Code.Utils.DoLogOut(storageService, uxService, broker);

            await uxService.ShowToast(International.Translation.LogoutSuccessfull);
            uxService.DoLogOff();
        }