예제 #1
0
        public AdminController(IUnitOfWorkInt unitOfWork, IMedDraService meddraService, IInfrastructureService infrastuctureService)
        {
            Check.IsNotNull(meddraService, "meddraService may not be null");

            _unitOfWork           = unitOfWork;
            _meddraService        = meddraService;
            _infrastuctureService = infrastuctureService;
        }
예제 #2
0
 public MeddraTermsController(IPropertyMappingService propertyMappingService,
                              ITypeHelperService typeHelperService,
                              IMedDraService medDraService,
                              IMapper mapper,
                              ILinkGeneratorService linkGeneratorService,
                              IRepositoryInt <TerminologyMedDra> termsRepository)
 {
     _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService));
     _typeHelperService      = typeHelperService ?? throw new ArgumentNullException(nameof(typeHelperService));
     _medDraService          = medDraService ?? throw new ArgumentNullException(nameof(medDraService));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _linkGeneratorService = linkGeneratorService ?? throw new ArgumentNullException(nameof(linkGeneratorService));
     _termsRepository      = termsRepository ?? throw new ArgumentNullException(nameof(termsRepository));
 }