public LoanRegisterController(ILedgerService ledgerService, ILoanRegisterService loanRegisterService, IUnitOfWork unitOfWork, IConfiguration configuration)
 {
     this.loanRegisterService = loanRegisterService;
     this.ledgerService       = ledgerService;
     this.unitOfWork          = unitOfWork;
     _connectionstring        = configuration.GetConnectionString("DefaultConnection");
 }
 public DashBoardWidgetController(IUnitOfWork unitOfWork, ILedgerService ledgerService, IFundTypeCodeService fundTypeService, ILoanRegisterService loanRegisterService)
 {
     this.ledgerService       = ledgerService;
     this.fundTypeService     = fundTypeService;
     this.loanRegisterService = loanRegisterService;
     this.unitOfWork          = unitOfWork;
 }
 public LoanRegisterController(ILoanRegisterService loanRegisterService, IGeneratePdf generatePdf, IConfiguration configuration, IUnitOfWork unitofWork, INavyAccountDbContext context)
 {
     this.unitofWork          = unitofWork;
     this.context             = context;
     this.loanRegisterService = loanRegisterService;
     this.generatePdf         = generatePdf;
     _connectionstring        = configuration.GetConnectionString("DefaultConnection");
 }