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