//private IConverter _converter; public TrialbalanceReportController(ITrialbalanceReportService services, IGeneratePdf generatePdf, IFundTypeCodeService fundService, IAccountHistoryService accountHistoryService) { this.services = services; this.generatePdf = generatePdf; this.fundService = fundService; this.accountHistoryService = accountHistoryService; }
public ClaimRegisterController(ILedgerService ledgerService, IClaimRegisterService claimRegisterService, IGeneratePdf generatePdf, IUnitOfWork unitofWork) { this.ledgerService = ledgerService; this.claimRegisterService = claimRegisterService; this.generatePdf = generatePdf; this.unitofWork = unitofWork; }
public StudentController(IUnitOfWork unitOfWork, IUserService userService, IGeneratePdf generatePdf, IStudentService studentService) { this.unitOfWork = unitOfWork; this.userService = userService; this.generatePdf = generatePdf; this.studentService = studentService; }
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"); }
public NavipsController(IUnitOfWork unitofwork, IPersonService personService, INavipService navipservice, IGeneratePdf generatePdf, INavyAccountDbContext context) { this.personService = personService; this.navipservice = navipservice; this.generatePdf = generatePdf; this.context = context; this.unitofwork = unitofwork; }
public WkPdfService(IGeneratePdf generatePdf, IViewRenderService viewRenderService, IDownloadService downloadService, ILanguageService languageService) { _generatePdf = generatePdf; _viewRenderService = viewRenderService; _downloadService = downloadService; _languageService = languageService; }
public ClaimRegisterController(IUnitOfWork unitofWork, IClaimRegisterService services, ILedgerService ledgerService, IConfiguration configuration, IGeneratePdf generatePdf) { this.services = services; this.ledgerService = ledgerService; this.unitofWork = unitofWork; this.generatePdf = generatePdf; _connectionstring = configuration.GetConnectionString("DefaultConnection"); }
public WkPdfService(IGeneratePdf generatePdf, IViewRenderService viewRenderService, IRepository <Download> downloadRepository, ILanguageService languageService) { _generatePdf = generatePdf; _viewRenderService = viewRenderService; _languageService = languageService; _downloadRepository = downloadRepository; }
public ContrDiscController(IFundTypeService fundTypeService, IUnitOfWork unitofWork, INavyAccountDbContext context, IConfiguration configuration, IContrService contrService, IGeneratePdf generatePdf) { _connectionstring = configuration.GetConnectionString("DefaultConnection"); this.unitofWork = unitofWork; this.context = context; this.contrService = contrService; this.generatePdf = generatePdf; this.fundTypeService = fundTypeService; }
public WkPdfService(IGeneratePdf generatePdf, IViewRenderService viewRenderService, IRepository <Download> downloadRepository, ILanguageService languageService, IDatabaseContext dbContext) { _generatePdf = generatePdf; _viewRenderService = viewRenderService; _languageService = languageService; _downloadRepository = downloadRepository; _dbContext = dbContext; }
/// <summary> /// Initializes a new instance of the <see cref="ReportGeneratorsProvider"/> class. /// </summary> /// <param name="pdfEngine">pdf engine</param> public ReportGeneratorsProvider(IGeneratePdf pdfEngine) { generators = new List <IReportBodyGenerator>() { new HtmlGenerator(), new PdfGenerator(pdfEngine), new TxtGenerator(), new JsonGenerator(), }; }
public UsersController(IUserRepository repository, IMapper mapper, IPhotoService photoService, IConfiguration config, IGeneratePdf generatePdf) { _generatePdf = generatePdf; _config = config; _photoService = photoService; _mapper = mapper; _repository = repository; }
public ClaimTypeController(ILedgerService ledgerService, IConfiguration configuration, IFundTypeService fundTypeService, IClaimRegisterService claimRegisterService, IGeneratePdf generatePdf, IFundTypeCodeService fundService, IClaimTypeServices claimTypeService, IUnitOfWork unitOfWork, IChartofAccountService chartofAccountService, INavipService navipservice) { this.claimRegisterService = claimRegisterService; this.ledgerService = ledgerService; this.generatePdf = generatePdf; this.fundService = fundService; this.claimTypeService = claimTypeService; this.fundTypeService = fundTypeService; this.unitOfWork = unitOfWork; this.chartofAccountService = chartofAccountService; this.navipservice = navipservice; _connectionstring = configuration.GetConnectionString("DefaultConnection"); }
public PdfDownloadModel(IGeneratePdf generatePdf) { this.generatePdf = generatePdf; }
public PDFController(IConfiguration configuration, ILoggerFactory loggerFactory, IGeneratePdf generatePdf) { _generatePdf = generatePdf; Configuration = configuration; _logger = loggerFactory.CreateLogger(typeof(PDFController)); }
public LoanPerRankController(ILoanPerRankService services, ILoanTypeService fundService, IGeneratePdf generatePdf) { this.services = services; this.fundService = fundService; this.generatePdf = generatePdf; }
public BuggyController(DataContext context, IConfiguration config, IGeneratePdf generatePdf) { _generatePdf = generatePdf; _context = context; _config = config; }
public OrderController(ShopContext context, IGeneratePdf generatePdf) { _context = context; _generatePdf = generatePdf; }
public static string GeneratePdf(Inspection inspection, ReportOptionsModel model = null) { if (model == null) { model = new ReportOptionsModel(); } IGeneratePdf pdfMaker = DependencyService.Get <IGeneratePdf>(); string fileName = pdfMaker.Initialize(inspection); int numCommentPages = 0; //draw comment pages if (model.Comments) { foreach (Comment comment in inspection.comments) { numCommentPages++; pdfMaker.CreateCommentPage(comment); if (comment != inspection.comments.Last()) { pdfMaker.NewPage(); } } } //draw question listing List <ReportSection> reportSections = PrepareInspectionForScoring(inspection); if (model.Questions) { pdfMaker.NewPageIfNotEmpty(); foreach (ReportSection section in reportSections) { if (model.ScoredSectionsOnly && section.section.availablePoints == 0) { continue; } pdfMaker.CreateQuestionSection(section); if (section != reportSections.Last()) { pdfMaker.NewPage(); } } } //draw section totals if (model.Totals) { pdfMaker.NewPageIfNotEmpty(); pdfMaker.CreateSectionTotals(); } //draw checklist structure if (model.Structure) { pdfMaker.NewPageIfNotEmpty(); pdfMaker.CreateStructure(); } //draw scoresheet if (model.ScoreSheet) { pdfMaker.NewPageIfNotEmpty(); pdfMaker.CreateScoreSheet(); } //draw scores graph if (model.GraphSheet) { pdfMaker.NewPageIfNotEmpty(); pdfMaker.CreateScoreGraph(); } pdfMaker.Finish(); pdfMaker.StampFooter(numCommentPages); return(fileName); }
public InvestRegisterMvcController(IInvestmentRegisterServices services, IGeneratePdf generatePdf) { this.services = services; this.generatePdf = generatePdf; }
public TestViewsController(IGeneratePdf generatePdf) { _generatePdf = generatePdf; }
public PdfService(IGeneratePdf generatePdf) { _generatePdf = generatePdf; }
public PdfService(IGeneratePdf generatePdf) { _generatePdf = generatePdf; _pathToTemplates = "~/Templates/Pdf"; }
public NpfContributionController(IContributionServices services, IFundTypeService fundService, IGeneratePdf generatePdf) { this.services = services; this.fundService = fundService; this.generatePdf = generatePdf; }
public LoanRepaymentController(ILoanScheduleservices services, IGeneratePdf generatePdf) { this.services = services; this.generatePdf = generatePdf; }
public ResultController(ApplicationDbContext context, IGeneratePdf generatePdf) { _generatePdf = generatePdf; _context = context; }
public GdgphController(ILogger <GdgphController> logger, IGeneratePdf generatePdf) { _logger = logger; _generatePdf = generatePdf; }
public BalanceSheetController(IBalanceSheetService balanceSheetService, IGeneratePdf generatePdf) { this.balanceSheetService = balanceSheetService; this.generatePdf = generatePdf; }
public LoanTypeController(ILoanTypeService loantypeService, IGeneratePdf generatePdf) { this.loantypeService = loantypeService; this.generatePdf = generatePdf; }
public SuplusReportController(IFundTypeCodeService fundService, ISurplusService service, IGeneratePdf generatePdf) { this.fundService = fundService; this.service = service; this.generatePdf = generatePdf; }