public BankActivityService(CommerceBankAppContext context, ILastTransactionService lastTransactionService, IMailService mailService, IUserService userService) : base(context) { _lastTransactionService = lastTransactionService; _mailService = mailService; _userService = userService; }
//context exposes the database object to the application public UserService(CommerceBankAppContext context) : base(context) { }
public PersonService(CommerceBankAppContext context) : base(context) { }
public RepositoryService(CommerceBankAppContext context) { _context = context; entities = _context.Set <T>(); }
public AccountTypeService(CommerceBankAppContext context) : base(context) { }
public LastTransactionService(CommerceBankAppContext context) : base(context) { }