Exemplo n.º 1
0
 public CloudBankingController(IBankingRepository bankingRepository, IBankingService bankingService, ICalculator calculator, IOptions <AppParameters> opAppParameters)
 {
     _bankingRepository = bankingRepository;
     _bankingService    = bankingService;
     _calculator        = calculator;
     _appParameters     = opAppParameters.Value;
 }
Exemplo n.º 2
0
 public BankingsController(
     IBankingRepository bankingRepository,
     IUserHelper userHelper,
     ICompanyRepository companyRepository)
 {
     _bankingRepository = bankingRepository;
     _userHelper        = userHelper;
     _companyRepository = companyRepository;
 }
Exemplo n.º 3
0
 public BankingsController(
     DataContext dataContext,
     IBankingRepository bankingRepository,
     IUserHelper userHelper,
     ICompanyRepository companyRepository,
     IConverterHelper converterHelper)
 {
     _dataContext       = dataContext;
     _bankingRepository = bankingRepository;
     _userHelper        = userHelper;
     _companyRepository = companyRepository;
     _converterHelper   = converterHelper;
 }
Exemplo n.º 4
0
 public AppController(IBankingRepository repository, ILogger <BankingRepository> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
 public LoginController(IBankingRepository bankingRepo)
 {
     bankingRepository = bankingRepo;
 }
Exemplo n.º 6
0
 public ServiceManager(IBankingRepository repo)
 {
     repository = repo;
 }
Exemplo n.º 7
0
 public HomeController(IBankingRepository bankingRepo)
 {
     bankingRepository = bankingRepo;
 }
Exemplo n.º 8
0
 public BankingService(IBankingRepository accountRepository, IEventBus bus)
 {
     _accountRepository = accountRepository;
     _bus = bus;
 }
Exemplo n.º 9
0
 public WithdrawCommandHandler(IBankingRepository repository)
 {
     //definisve programming
     _repository = repository ?? throw new ArgumentNullException(nameof(IBankingRepository));
 }
 public BankDetailsController(IBankingRepository repository, ILogger <BankDetailsController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }