public virtual void Setup() { DbContext.DetachAllEntities(); foreach (var administrator in DbContext.Administrators.ToList()) { DbContext.Remove(administrator); } DbContext.SaveChanges(); }