public AfegirProducteWindowController(SentinelDBEntities context) { this.context = context; tProducte = new TProducte(context); }
public ProducteWindowController() { context = new SentinelDBEntities(); tProducte = new TProducte(context); }