예제 #1
0
 public Repository(TesteSubwayContext dbContext)
 {
     db = dbContext;
 }
예제 #2
0
 public AccountService()
 {
     accountManager = new AccountManager(new Repository <Client>(TesteSubwayContext.Create()));
 }
예제 #3
0
 public PurchaseService()
 {
     purchaseManager = new PurchaseManager(new Repository <Purchase>(TesteSubwayContext.Create()));
 }