public AccountAccessValidator(IAccountService accountService,
                                      IBudgetPlannerCacheProvider budgetPlannerCacheProvider)
            : base(accountService)
        {
            _budgetPlannerCacheProvider = budgetPlannerCacheProvider;

            RuleFor(model => model.AccountAccessModel.AccountId)
            .GreaterThan(0)
            .MustAsync(BeAValidAccount);

            RuleFor(model => model.AccountAccessModel.AccessTypeId)
            .GreaterThan(0)
            .MustAsync(AccountAccessExists);
        }
 public RetrieveTransactionTypes(IBudgetPlannerCacheProvider budgetPlannerCacheProvider)
 {
     _budgetPlannerCacheProvider = budgetPlannerCacheProvider;
 }