Пример #1
0
 public OrganizationsController(IUnitOfWork unitOfWork, IMapper mapper, ILogger <OrganizationsController> logger, IUrlHelper urlHelper, ITypeHelperServices typeHelperServices)
 {
     _unitOfWork         = unitOfWork;
     _mapper             = mapper;
     _logger             = logger;
     _urlHelper          = urlHelper;
     _typeHelperServices = typeHelperServices;
 }
Пример #2
0
 public AuthorsController(ILogger <AuthorsController> logger, ILibraryRepository libraryRepository,
                          IUrlHelper urlHelper, IPropertyMappingService propertyMappingService, ITypeHelperServices typeHelperServices)
 {
     this.logger                 = logger;
     this.libraryRepository      = libraryRepository;
     this.urlHelper              = urlHelper;
     this.propertyMappingService = propertyMappingService;
     this.typeHelperServices     = typeHelperServices;
 }