public void UnloadKernel()
        {
            var res = pinzService.DeleteCompanyAsync(company);

            res.Wait();

            kernel.Dispose();
        }
Esempio n. 2
0
        public void UnloadKernel()
        {
            credentials.UserName = TestUserCredentials.UserName;
            credentials.Password = TestUserCredentials.Password;
            credentials.UpdateCredentialsForAllFactories();

            System.Threading.Tasks.Task res = pinzService.DeleteCompanyAsync(company);
            res.Wait();

            kernel.Dispose();
        }