public ProductController(IProduct repo, IMapper mapper, IIdentityService identityService, IHttpContextAccessor httpContextAccessor, ILoggerService logger, IAllowableCollateralRepository allowableCollateralRepository, IIdentityServerRequest identityServer) { _repo = repo; _mapper = mapper; _identityService = identityService; _httpContextAccessor = httpContextAccessor; _logger = logger; _allowableCollateralRepository = allowableCollateralRepository; _identityServer = identityServer; }
public CollateralController(ICollateralRepository repo, IMapper mapper, IIdentityService identityService, IHttpContextAccessor httpContextAccessor, ILoggerService logger, ILoanApplicationCollateralDocumentRespository loanApplicationCollateralDocumentRespository, ICollateralCustomerConsumptionRepository collateralCustomerConsumptionRepository, ILoanApplicationRepository loanApplicationRepository, IAllowableCollateralRepository allowableCollateralRepository, IIdentityServerRequest serverRequest ) { _repo = repo; _mapper = mapper; _identityService = identityService; _httpContextAccessor = httpContextAccessor; _serverRequest = serverRequest; _logger = logger; _loanApplicationCollateralDocumentRespository = loanApplicationCollateralDocumentRespository; _collateralCustomerConsumptionRepository = collateralCustomerConsumptionRepository; _loanApplicationRepository = loanApplicationRepository; _allowableCollateralRepository = allowableCollateralRepository; }