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