Exemple #1
0
        private void CleanupCreatedEntries()
        {
            if (ccsCreated.Count > 0)
            {
                var context = this.fixture.GetCurrentDataContext();
                foreach (var cc in ccsCreated)
                {
                    fixture.DeleteFinanceControlCenter(context, cc);
                }

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