public WagonRepository(IWagonContext context) { Context = context; }
public WagonRepo(IWagonContext context) { this.context = context; }
public WagonController(IConfiguration configuration) { context = new MSSQLWagonContext(configuration.GetConnectionString("DefaultConnection")); repo = new WagonRepository(context); converter = new WagonViewModelConverter(); }