public MainWindowController() { context = new SentinelDBEntities(); tComanda = new TComanda(context); tLiniaComanda = new TLiniaComanda(context); }
public ComandesWindowController(SentinelDBEntities context) { this.context = context; tComanda = new TComanda(context); }