Exemple #1
0
        public async Task Db_SalesService_CreateArticleAsync()
        {
            using (ThreadScopedLifestyle.BeginScope(container))
            {
                SalesService service = container.GetInstance <SalesService>();

                this.article.Id = 0;
                int result = await service.CreateAsync(this.article);

                Assert.Greater(this.article.Id, 0);
            }
        }