public HoneyController(AppDBContent context, IHoney iHoney) { _honey = iHoney; db = context; }
public HoneyViewModel(IHoney honey) { _honey = honey; BLC.DataProvider dataProvider = new BLC.DataProvider(new Settings().DataBase); _plantations = new ObservableCollection <IPlantation>(dataProvider.Plantations); }