public MainWindow() { InitializeComponent(); groupService = new GroupServise("DbConnection"); groupVM = groupService.GetAll(); coffeService = new CoffeService("DbConnection"); lbGroup.DataContext = groupVM; lbGroup_1.DataContext = groupVM; }
public CoffeController(ICoffeService coffeService) { _coffeService = coffeService; }