public List <DungeonBoss> GetBossObjects() { var list = new List <DungeonBoss>(); using (var db = new ChaliceDb()) { foreach (var bossIdString in Bosses.Split(';')) { var id = int.Parse(bossIdString); var boss = db.DungeonBosses.FirstOrDefault(b => b.Id == id); list.Add(boss); } } return(list); }