public ContentsController(IContentEditorRepository contentEditorRepository) { if (contentEditorRepository == null) { throw new ArgumentNullException(nameof(contentEditorRepository)); } _contentEditorRepository = contentEditorRepository; }
public ContentsController(IContentEditorRepository contentEditorRepository) { if(contentEditorRepository == null) { throw new ArgumentNullException(nameof(contentEditorRepository)); } _contentEditorRepository = contentEditorRepository; }