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