public HopDongsAppService(IRepository <LichSuUpload> lichSuUploadRepository, IOrganizationUnitAppService organizationUnitAppService, ILichSuUploadsAppService lichSuUploadsAppService, IRepository <Template> templateRepository, IWebHostEnvironment env, IRepository <OrganizationUnit, long> organizationUnitRepository, IRepository <UngVien> ungVienRepository, IWebHostEnvironment hostingEnvironment, IRepository <TruongGiaoDich> truongGiaoDichRepository, IRepository <HopDong> hopDongRepository, IHopDongsExcelExporter hopDongsExcelExporter) { _hopDongRepository = hopDongRepository; _env = hostingEnvironment; _templateRepository = templateRepository; _lichSuUploadRepository = lichSuUploadRepository; _organizationUnitRepository = organizationUnitRepository; connectionString = env.GetAppConfiguration().GetConnectionString("Default"); _ungVienRepository = ungVienRepository; _hopDongsExcelExporter = hopDongsExcelExporter; _organizationUnitAppService = organizationUnitAppService; _truongGiaoDichRepository = truongGiaoDichRepository; _lichSuUploadsAppService = lichSuUploadsAppService; }
public QuanLyNghiPhepsAppService(IQuanLyTrucTiepPNPsAppService quanLyTrucTiepPNPsAppService, IRepository <QuanLyTrucTiepPNP> quanLyTrucTiepPNPRepository, IRepository <HoSo> hoSoRepository, IWebHostEnvironment env, IRepository <User, long> userRepository, ILichSuUploadsAppService lichSuUploadsAppService, IOrganizationUnitAppService organizationUnitAppService, IRepository <QuanLyNghiPhep> quanLyNghiPhepRepository, IRepository <TruongGiaoDich> truongGiaoDichRepository, IRepository <OrganizationUnit, long> organizationUnitRepository, IRepository <LichSuUpload> lichSuUploadRepository, IQuanLyNghiPhepsExcelExporter quanLyNghiPhepsExcelExporter) { _quanLyNghiPhepRepository = quanLyNghiPhepRepository; _lichSuUploadRepository = lichSuUploadRepository; _userRepository = userRepository; _quanLyTrucTiepPNPRepository = quanLyTrucTiepPNPRepository; _hoSoRepository = hoSoRepository; _quanLyTrucTiepPNPsAppService = quanLyTrucTiepPNPsAppService; _organizationUnitRepository = organizationUnitRepository; _organizationUnitAppService = organizationUnitAppService; _lichSuUploadsAppService = lichSuUploadsAppService; _truongGiaoDichRepository = truongGiaoDichRepository; _quanLyNghiPhepsExcelExporter = quanLyNghiPhepsExcelExporter; connectionString = env.GetAppConfiguration().GetConnectionString("Default"); }