public SomeModelApplicationService(
     ILogger <SomeModelApplicationService> logger,
     ISomeModelRepository somemodelRepository)
 {
     _logger = logger;
     _somemodelRepository = somemodelRepository;
 }
Пример #2
0
 public SomeModelService(ISomeModelRepository someModelRepository)
 {
     _someModelRepository = someModelRepository ?? throw new ArgumentNullException(nameof(someModelRepository));
 }