public DistributionViewModel(WorkplaceContext db)
 {
     Distributions = db.GetDistributionsLocal();
     Bases         = db.GetBasesLocal();
     Platforms     = db.GetPlatformsLocal();
     this.db       = db;
 }
예제 #2
0
 public TelegramViewModel(WorkplaceContext db)
 {
     TelegramBots    = db.GetTelegramBotsLocal();
     Platforms       = db.GetPlatformsLocal();
     this.db         = db;
     telegramSetting = db.TelegramSetting;
 }
예제 #3
0
 public PlatformViewModel(WorkplaceContext db)
 {
     Platforms = db.GetPlatformsLocal();
     this.db   = db;
     CheckPlatforms();
 }