public Repository(TesteSubwayContext dbContext) { db = dbContext; }
public AccountService() { accountManager = new AccountManager(new Repository <Client>(TesteSubwayContext.Create())); }
public PurchaseService() { purchaseManager = new PurchaseManager(new Repository <Purchase>(TesteSubwayContext.Create())); }