public LabelService(ILabelRepository labelRepository, IObjectClassRepository objectClassRepository) { LabelRepository = labelRepository ?? throw new ArgumentNullException(nameof(labelRepository)); ObjectClassRepository = objectClassRepository ?? throw new ArgumentNullException(nameof(objectClassRepository)); }
public ObjectClassService(IObjectClassRepository objectClassRepository) { ObjectClassRepository = objectClassRepository ?? throw new ArgumentNullException(nameof(objectClassRepository)); }