Completato fix setup page + cache redis

This commit is contained in:
Samuele Locatelli
2024-10-21 12:05:23 +02:00
parent ea2f942f94
commit 60f983df9b
17 changed files with 264 additions and 107 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ namespace MP.FileData
public static void Seed(this ModelBuilder modelBuilder)
{
// inizializzazione dei valori di default x MACCHINA
modelBuilder.Entity<MacchinaModel>().HasData(
new MacchinaModel { IdxMacchina = "0", RuleName = "0", Descrizione = "--- Tutte ---", Nome = "--- Tutte ---", BasePath = "", ImgUrl = "", Note = "", ShowOrder = 0 }
modelBuilder.Entity<ArchMaccModel>().HasData(
new ArchMaccModel { IdxMacchina = "0", RuleName = "0", Descrizione = "--- Tutte ---", Nome = "--- Tutte ---", BasePath = "", ImgUrl = "", Note = "", ShowOrder = 0 }
);
}