public JobsController( IJobsComponent component, ICurrentUser user, IMapper mapper) { _component = component ?? throw new ArgumentNullException(nameof(component)); _user = user ?? throw new ArgumentNullException(nameof(user)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public JobsComponentAdapter(IJobsComponent component) { _component = component ?? throw new ArgumentNullException(nameof(component)); }