static void ResetDatabaseTables(MainDbContext mainDbContext) { Tests.ConfirmDatabaseReset(); mainDbContext.ClearAll <Category>(); mainDbContext.ClearAll <CategoryToProjectTypeMapping>(); mainDbContext.ClearAll <ProjectName>(); mainDbContext.ClearAll <ProjectNameToCategoryMapping>(); mainDbContext.ClearAll <ProjectType>(); }