Exemple #1
0
        public PaymentService(IUserService userService, IDealService dealService, IBankApi bankApi, ITrueMoneyContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            _bankApi = bankApi;
            _context = context;
        }
Exemple #2
0
 public DealService(ITrueMoneyContext context)
 {
     _context = context;
 }
Exemple #3
0
 public UserService(ITrueMoneyContext context)
 {
     _context = context;
 }
Exemple #4
0
 public PaymentService(ITrueMoneyContext context)
 {
     _context = context;
 }