public UserController()
 {
     TicketsContext context = new TicketsContext();
     _userService = new UserService(new UserRepository(context));
     _tokenService = new AccessTokenService(new AccessTokenRepository(context));
     _userMapper = new UserMapper();
 }
 public PaymentController()
 {
     TicketsContext context = new TicketsContext();
     _userService = new UserService(new UserRepository(context));
     _transactionCreditCardErrorService = new TransactionCreditCardErrorService(new TransactionCreditCardErrorRepository(context));
     _cardCompany = new MundipaggCompany(new CreditCardTokenService(new CreditCardTokenRepository(context)));
     _creditCardMapper = new CreditCardMapper();
 }
 public CreditCardTokenRepository(TicketsContext context)
 {
     _context = context;
 }
 public UserRepository(TicketsContext context)
 {
     _context = context;
 }
 public TransactionCreditCardErrorRepository(TicketsContext context)
 {
     _context = context;
 }
 public AccessTokenRepository(TicketsContext context)
 {
     _context = context;
 }