Exemplo n.º 1
0
 public DepositService(
     IRepository <Deposit> depositRepository,
     IDepositValidation depositValidation,
     IMapper mapper,
     IOptions <FeeSettingsModel> feeSettingModel)
 {
     _depositRepository = depositRepository;
     _depositValidation = depositValidation;
     _mapper            = mapper;
     _feeSettingsModel  = feeSettingModel.Value;
 }
Exemplo n.º 2
0
 public SavingsController(
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     ILogger <SavingsController> logger,
     IMapper mapper,
     IGenerator generator,
     IProductService productService,
     IEmployeeService employeeService,
     ICustomerService customerService,
     IDepositService depositService,
     IDepositConfirmService depositConfirmService,
     IOptions <FeeSettingsModel> feeSettings
     ) : base(userManager, roleManager, mapper, generator)
 {
     _logger                = logger;
     _depositService        = depositService;
     _depositConfirmService = depositConfirmService;
     _employeeService       = employeeService;
     _customerService       = customerService;
     _productService        = productService;
     _feeSettings           = feeSettings.Value;
 }