Ejemplo n.º 1
0
        private void CleanupCreatedEntries()
        {
            if (documentsCreated.Count > 0)
            {
                var context = this.fixture.GetCurrentDataContext();
                foreach (var acntcrt in documentsCreated)
                {
                    fixture.DeleteFinanceDocument(context, acntcrt);
                }

                documentsCreated.Clear();
                context.SaveChanges();
            }
        }