public ValuesController(StoreDbContext context, ISnackRepository repoSnack, IValidator <SnackModel> entityToValidate, ILogPriceRepository logPrice, IBuySnacks buySnacks, ILogPurchaseRepository logPurchase, ItokenFactory tokenFactory, ILikeSnack likeSnacks) { _context = context; _repoSnack = repoSnack; _entityToValidate = entityToValidate; _logPrice = logPrice; _buySnacks = buySnacks; _logPurchase = logPurchase; _tokenFactory = tokenFactory; _likeSnacks = likeSnacks; }
public AccountController(IUserAccountRepository accountRepository, ItokenFactory tokenFactory) { _accountRepository = accountRepository; _tokenFactory = tokenFactory; }