Пример #1
0
 public LernsiegViewModel Init(LernsiegContext db)
 {
     this.db        = db;
     Schools        = db.Schools.ToList();
     SelectedSchool = Schools.First();
     return(this);
 }