public MetadataTypeController( IMetadataTypeService metadataTypeService, IMetadataCategoryService metadataCategoryService, ITagService tagService, IMapper mapper, IUnitOfWork unitOfWork, IHttpContextAccessor httpContextRetriever, IUserService userService ) { _metadataTypeService = metadataTypeService; _metadataCategoryService = metadataCategoryService; _tagService = tagService; _mapper = mapper; _unitOfWork = unitOfWork; this.httpContextRetriever = httpContextRetriever; this.userService = userService; }
public MetadataTypeController(IMetadataTypeService metadataTypeService, IHostingEnvironment host) { _metadataTypeService = metadataTypeService; _host = host; }