예제 #1
0
        async Task CloseFormAsync()
        {
            var CloseResponce = await ApiManager.AppStack(new AppStackRequestModel()
            {
                action      = "close",
                token       = AppConstants.AppToken,
                deviceName  = "POSTMAN",
                aliasNaming = true,
                allowCache  = true,
                rid         = AppConstants.Rid,
                stackId     = 1,
                stateId     = 2
            });

            if (CloseResponce.IsSuccessStatusCode)
            {
                await RunSafe(LogoutAsync());
            }
        }