public ItemController(IRepositoryMaintenanceMk2 <Item> repo, IRepositoryMachineMk2 <Employee> repoEmp, IRepositoryMachineMk2 <EmployeeGroupMis> repoGroupMis, IRepositoryMaintenanceMk2 <ItemType> repoType, IRepositoryMaintenanceMk2 <RequireMaintenance> repoRequireMain, IRepositoryDapper <ItemViewModel> repoDapper, ExcelWorkBookService excelWorkBook, IHelperService helper, IHostingEnvironment hosting, IMapper mapper) : base(repo, mapper) { // Repository Machine this.repositoryEmp = repoEmp; this.repositoryGroupMis = repoGroupMis; // Repository Maintenance this.repositoryType = repoType; this.repositoryRequireMaintenance = repoRequireMain; // Dapper this.dapper = repoDapper; // Helper this.excelWorkBookService = excelWorkBook; this.helperService = helper; // Host this.hosting = hosting; }
public PaymentController(IRepositorySageX3 <Paymenth> repo, IRepositoryDapperSageX3 <PaymentViewModel> repoPayment, IRepositoryDapperSageX3 <PaymentRetentionViewModel> repoRetention, IRepositoryDapperSageX3 <PaymentSubConViewModel> repoPaymentSub, IRepositorySageX3 <Bank> repoBank, ExcelWorkBookService exWbService, IHelperService _helperService, IHostingEnvironment hosting, IMapper mapper) : base(repo, mapper) { this.repositoryBank = repoBank; // DapperSageX3 this.repositoryPayment = repoPayment; this.repositoryRetention = repoRetention; this.repositoryPaymentSub = repoPaymentSub; // Helper this.excelWbService = exWbService; this.helperService = _helperService; this.hosting = hosting; }
// GET: api/ItemHasCancel public ObsoleteItemController(IRepositoryMaintenanceMk2 <ObsoleteItem> repo, IRepositoryMaintenanceMk2 <Item> repoItem, IRepositoryMaintenanceMk2 <ObsoleteItemHasAttach> repoHasAttach, IRepositoryMachineMk2 <AttachFile> repoAttach, IRepositoryDapper <ObsoleteItemViewModel> repoDapper, IHostingEnvironment hosting, ExcelWorkBookService bookService, IMapper mapper) : base(repo, mapper) { //MaintenanceDatabase this.repositoryItem = repoItem; this.repositoryHasAttach = repoHasAttach; this.dapper = repoDapper; // MachineDatabase this.repositoryAttach = repoAttach; // Ihost this.hosting = hosting; // Helper this.bookService = bookService; }