public void ReadRepoTest() { DWH_entities ent = new DWH_entities(); var a = ent.Database.Connection; var b = a.State; ReadRepo <REFMERCHANTS> rr = new ReadRepo <REFMERCHANTS>(ent); Assert.Fail(); }
public HomeController(ReadRepo readRepo, WriteRepo writeRepo) { _readRepo = readRepo; _writeRepo = writeRepo; }
public HomeController() { _readRepo = new ReadRepo(RootPath); _writeRepo = new WriteRepo(RootPath); }