public ExperimentsController(ScientificStudiesRecordDbContext context, IMapper mapper) { _context = context; _unitOfWork = new UnitOfWork(context); _mapper = mapper; CustomAssemblyLoadContext assemblyContext = new CustomAssemblyLoadContext(); assemblyContext.LoadUnmanagedLibrary("/home/teo/Projects/Master_rad/ScientificStudyRecords/ScientificStudyWeb/bin/Debug/netcoreapp3.1/libwkhtmltox.so"); _converter = new SynchronizedConverter(new PdfTools()); ; }
public TestSubjectsController(ScientificStudiesRecordDbContext context, IMapper mapper) { _context = context; _unitOfWork = new UnitOfWork(_context); _mapper = mapper; }
public LoginController(ScientificStudiesRecordDbContext context, IConfiguration configuration) { _context = context; _unitOfWork = new UnitOfWork(_context); _userService = new UserService(configuration); }