public FaceRecognitionService(IFilesDomainService filesService, ILogger <FaceRecognitionService> logger, IMapper mapper, IImageRepository imageRepository, IRecognitionResultRepository recognitionResultRepository, IRecognitionRepository recoRepo) { this.filesService = filesService; this.logger = logger; this.mapper = mapper; this.imageRepository = imageRepository; this.recognitionResultRepository = recognitionResultRepository; this.recoRepo = recoRepo; }
public RecognitionResultService(IRecognitionResultRepository recognitionResultRepository, IUnitOfWork unitOfWork) { _recognitionResultRepository = recognitionResultRepository ?? throw new ArgumentNullException(nameof(recognitionResultRepository)); _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); }