public AuthorsController(ICourseLibraryRepository repository, IMapper mapper, IPropertyMappingService propertyMappingService, IDataShapingService dataShapingService)
 {
     _repository             = repository;
     _mapper                 = mapper;
     _propertyMappingService = propertyMappingService;
     _dataShapingService     = dataShapingService;
 }
 public SkillsController(IUnitOfWork unitOfWork, IMapper mapper,
                         IPropertyMappingService propertyMappingService,
                         IPropertyCheckerService propertyCheckerService,
                         IPaginationService <Skill> paginationService,
                         IDependentEntityPaginationService <Skill> dependentLinksService,
                         IDataShapingService <Skill> dataShapingService)
 {
     _unitOfWork             = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _mapper                 = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _propertyMappingService = propertyMappingService ??
                               throw new ArgumentNullException(nameof(propertyMappingService));
     _propertyCheckerService = propertyCheckerService ??
                               throw new ArgumentNullException(nameof(propertyCheckerService));
     _paginationService = paginationService ??
                          throw new ArgumentNullException(nameof(paginationService));
     _dependentLinksService = dependentLinksService
                              ?? throw new ArgumentNullException(nameof(dependentLinksService));
     _dataShapingService = dataShapingService
                           ?? throw new ArgumentNullException(nameof(dataShapingService));
 }