public ReturnBook(ILoanService loanService, IDocumentService documentService, IUserService userService, User user) { this.loanService = loanService; this.documentService = documentService; this.userService = userService; this.user = user; this.fineManager = new FineManager(this.userService, this.user); }
public LoansController( UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, ILogger <LoansController> logger, IMapper mapper, IGenerator generator, IProductService productService, IEmployeeService employeeService, ICustomerService customerService, ILoanService loanService, ILoanApprovalService loanApprovalService, IRefundService refundService, IRefundConfirmService refundConfirmService ) : base(userManager, roleManager, mapper, generator) { _logger = logger; _employeeService = employeeService; _customerService = customerService; _loanService = loanService; _loanapprovalService = loanApprovalService; _refundService = refundService; _refundconfirmService = refundConfirmService; _productService = productService; }
public AccountController( UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, SignInManager <ApplicationUser> signInManager, ILogger <AccountController> logger, IMessager messager, IGenerator generator, IMapper mapper, IBranchService branchService, IEmployeeService employeeService, ICustomerService customerService, IDepositService depositService, ILoanService loanService ) : base( userManager, roleManager, mapper, generator) { _signInManager = signInManager; _logger = logger; _messager = messager; _branchService = branchService; _employeeService = employeeService; _customerService = customerService; _depositService = depositService; _loanService = loanService; }
public LoanServiceTests() { IConfiguration config = new ConfigurationBuilder().AddJsonFile("appsettings.json").Build(); _configuration = new ConfigurationService(config); _service = new LoanService(_configuration); }
public Engine( IAccountService accountService, IGovernmentService governmentService, IGroupService groupService, IReportService reportService, IPlotService plotService, IDecisionService decisionService, IAudienceService audienceService, INewsService newsService, IRevolutionService revolutionService, IScoreService scoreService, IEscapeService escapeService, IAssassinationService assassinationService, ILoanService loanService, IWarService warService) { this.accountService = accountService; this.governmentService = governmentService; this.groupService = groupService; this.reportService = reportService; this.plotService = plotService; this.decisionService = decisionService; this.audienceService = audienceService; this.newsService = newsService; this.revolutionService = revolutionService; this.scoreService = scoreService; this.escapeService = escapeService; this.assassinationService = assassinationService; this.loanService = loanService; this.warService = warService; }
public LoanController(ILoanService loans, IFeeService feeService, IMemberService memberService, IBookService bookService) { _bookService = bookService; _memberService = memberService; _loanService = loans; _feeService = feeService; }
public AccountController(ILoanService loanService, ApplicationState applicationState, UserManager <Guest> userManager, SignInManager <Guest> signInManager) : base(loanService, applicationState) { _userManager = userManager; _signInManager = signInManager; }
public LoansController(ILoanService loanservice, IBookCopyService bookcopyservice, IMemberService memberservice, IDateTimeService datetimeservice) { this.loanservice = loanservice; this.bookcopyservice = bookcopyservice; this.memberservice = memberservice; this.datetimeservice = datetimeservice; }
public HousingLoanServiceTests() { var calculatorValidation = new CalculatorValidation(); var calculator = new Calculator(calculatorValidation); _loanService = new HousingLoanService(calculator); }
public BooksController(IBookService bookservice, IAuthorService authorService, IBookCopyService copyservice, ILoanService loanservice) { this.bookservice = bookservice; this.authorService = authorService; this.copyservice = copyservice; this.loanservice = loanservice; }
public LoansController(ILoanService loanService, IMemberService memberService, IBookService bookService, IBookCopyService bookCopyService) { this.loanService = loanService; this.memberService = memberService; this.bookService = bookService; this.bookCopyService = bookCopyService; }
public LoanServiceTests() { var arithmetic = new Arithmetic(); _service = new LoanService(new CustomerRepository("prospects.txt"), new Plan(arithmetic), arithmetic); }
private void BTNGravar_Click(object sender, EventArgs e) { LoanService = new LoanService(); if (ValidatedForm()) { if (Loan.LoanCode > 0) { AddMovieToStock(); GetLoanFromDataGrid(); LoanService.Update(Loan); MessageBox.Show("Devolução realizada com sucesso"); } else { ReduceMovieStock(); foreach (var loanMovie in Loan.LoanMovies) { loanMovie.Movie = null; } LoanService.Save(Loan); MessageBox.Show("Locação realizada com sucesso"); } ClearDataGridViewMovie(); ClearDataLoan(); NewLoan(); } }
public LoanController(ILoanService loanService, IGameService gameService, IFriendService friendService, IDunService dunService) { _loanService = loanService; _gameService = gameService; _friendService = friendService; _dunService = dunService; }
public LoansController(ILoanService loanService, IBookCopyService bookcopyService, IMemberService memberService, IBookCopyLoanService bookCopyLoanService) { _loanService = loanService; _bookcopyService = bookcopyService; _memberService = memberService; _bookCopyLoanService = bookCopyLoanService; }
public static void ResolveDependencies(IWindsorContainer container, out IAccountService accountService, out IDocumentService bookService, out IUserService userService, out ILoanService loanService) { // Resolving accountService = container.Resolve<IAccountService>(); bookService = container.Resolve<IDocumentService>(); userService = container.Resolve<IUserService>(); loanService = container.Resolve<ILoanService>(); }
public BooksController(IBookService bookService, IAuthorService authorService, IMemberService memberService, ILoanService loanService, IBookCopyService bookCopyService) { this.bookService = bookService; this.authorService = authorService; this.memberService = memberService; this.loanService = loanService; this.bookCopyService = bookCopyService; }
public LibraryController(IBookService bookService, IUserService userService, ILoanService loanService, IReviewService reviewService, IRecommendationService recommendationService) { _bookService = bookService; _userService = userService; _loanService = loanService; _reviewService = reviewService; _recommendationService = recommendationService; }
public LoanController( ILogger <LoanController> logger, ILoanService loanService ) { _logger = logger; _loanService = loanService; }
public PaymentOverviewControllerTests() { IConfiguration config = new ConfigurationBuilder().AddJsonFile("appsettings.json").Build(); _configuration = new ConfigurationService(config); _service = new LoanService(_configuration); _controller = new PaymentOverviewController(_service); }
public ReviewController(ApplicationDbContext db, ILoanService loanService, IReviewService reviewService) { _db = db; _loanService = loanService; _reviewService = reviewService; }
public LoanController(IStudentService studentService, IBookService bookService, ILoanService loanService) { this.studentService = studentService; this.bookService = bookService; this.loanService = loanService; }
public LoansPage() { InitializeComponent(); service = App.ServiceProvider.GetRequiredService <ILoanService>(); Loaded += LoansPage_Loaded; }
public HomeController( ILogger <HomeController> logger, ILoanService loanService ) { _logger = logger; _loanService = loanService; }
public ReservationsController(IReservationService reservationService, IUserService userService, IBookService bookService, ILoanService loanService) { this.reservationService = reservationService; this.userService = userService; this.bookService = bookService; this.loanService = loanService; this.serviceDataLookUp = new DefaultServiceDataLookUp(loanService, reservationService); }
public RequestController(IRequestService requestService, IUserService userService, IItemService itemService, ILoanService loanService) { _requestService = requestService; _loanService = loanService; _userService = userService; _itemService = itemService; }
public void Initialize() { _loan = new Loan(); _expectedLoan = new Loan(); _book = new Mock <Book>(); _repository = new Mock <ILoanRepository>(); _service = new LoanService(_repository.Object); }
public LoanController(ILoanService loanService, IMapper mapper, IMessageSession messageSession) { _loanService = loanService; _mapper = mapper; _messageSession = messageSession; }
public LoanBook(ILoanService loanService, IDocumentService documentService, IUserService userService, User user) { this.loanService = loanService; this.documentService = documentService; this.userService = userService; this.user = user; this.fineManager = new FineManager(this.userService, user); this.cd = new ConsoleDatas(); }
public AccountLoanService(IRepository <AccountLoan> repository, IAccountLoanRepository <AccountLoan> accRepo, BankDbContext context, IRepository <Account> accountRepository, ILoanService loanService) { _repository = repository; _accRepo = accRepo; _context = context; _accountRepository = accountRepository; _loanService = loanService; }
public void Initialize() { _book = new Book(); _loan = new Loan(); _expectedLoan = new Loan(); _repository = new LoanRepository(); _service = new LoanService(_repository); BaseSql.SeedDbTBLoan(); }
public CashieringController(IInsuranceDepositService insuranceDepositService, ICCSystemAirtimeService ccsystemAirtimeService, IAccountReceivableService accountReceivableService, ISavingDepositService savingDepositService, IMedallionService medallionService, ITransactionHistoryService transactionHistoryService, IBillService billService, IMemberService memberService, ICompanyService companyService, ILoanService loanService) { this.insuranceDepositService = insuranceDepositService; this.ccsystemAirtimeService = ccsystemAirtimeService; this.accountReceivableService = accountReceivableService; this.savingDepositService = savingDepositService; this.medallionService = medallionService; this.transactionHistoryService = transactionHistoryService; this.billService = billService; this.memberService = memberService; this.companyService = companyService; this.loanService = loanService; }
public void Application_Start(out IAccountService accountService, out IDocumentService bookService, out IUserService userService, out ILoanService loanService) { container = new WindsorContainer(); WindsorInstaller.Install(container); WindsorResolver.ResolveDependencies(container, out accountService, out bookService, out userService, out loanService); }
public LoansController(ILoanService loanService) { this.loanService = loanService; }
public LoanApiController(ILoanService loanService) { this._loanService = loanService; }