Beispiel #1
0
 public EmployeeTrainingsDeleteService(IEmployeeTrainingsDeleteRepository employeeTrainingsDeleteRepository,
                                       IEmployeeTrainingsRepository employeeTrainingsRepository,
                                       IMapper mapper,
                                       ILogger <EmployeeTrainingsDeleteService> logger)
 {
     _employeeTrainingsDeleteRepository = employeeTrainingsDeleteRepository ?? throw new ArgumentNullException(nameof(employeeTrainingsDeleteRepository));
     _employeeTrainingsRepository       = employeeTrainingsRepository ?? throw new ArgumentNullException(nameof(employeeTrainingsRepository));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }