Ejemplo n.º 1
0
 public TransactionAppService(IRepository <Transaction, int> transactionRepository, IRepository <Booking, int> bookingRepository, IRepository <Tour, int> tourRepository, IWebHostEnvironment hostEnvironment, ITransactionsExcelExporter transactionsExcelExporter)
 {
     _transactionRepository     = transactionRepository;
     _bookingRepository         = bookingRepository;
     _tourRepository            = tourRepository;
     _hostEnvironment           = hostEnvironment;
     _transactionsExcelExporter = transactionsExcelExporter;
 }
Ejemplo n.º 2
0
 public TransactionsAppService(IRepository <EmployeeVacation> employeeVacation, IRepository <Shift> shiftRepository, IRepository <UserShift> userShiftRepository, IRepository <OrganizationUnitExtended, long> organizationUnit, IRepository <Transaction> transactionRepository, IRepository <Project> projectRepository, ITransactionsExcelExporter transactionsExcelExporter, UserManager userManager, IRepository <User, long> lookup_userRepository, IRepository <Machine, int> lookup_machineRepository)
 {
     _transactionRepository     = transactionRepository;
     _transactionsExcelExporter = transactionsExcelExporter;
     _userManager                = userManager;
     _lookup_userRepository      = lookup_userRepository;
     _projectRepository          = projectRepository;
     _organizationUnitRepository = organizationUnit;
     _UserShiftRepository        = userShiftRepository;
     _shiftRepository            = shiftRepository;
     _lookup_machineRepository   = lookup_machineRepository;
     _employeeVacation           = employeeVacation;
 }