public SomeModelApplicationService( ILogger <SomeModelApplicationService> logger, ISomeModelRepository somemodelRepository) { _logger = logger; _somemodelRepository = somemodelRepository; }
public SomeModelService(ISomeModelRepository someModelRepository) { _someModelRepository = someModelRepository ?? throw new ArgumentNullException(nameof(someModelRepository)); }