Exemplo n.º 1
0
 public ApiaryController(AppDBContent context, IApiary iApiary)
 {
     _apiary = iApiary;
     db      = context;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Создать модель представления пасеки.
 /// </summary>
 public ApiaryVM()
 {
     this.Refresh(RefreshApiaryVmOptions.ShowTempSavedState);
     this.apiary = ServiceLocator.Instance.GetService <IApiary>();
     this.InitializeCommands();
 }