Exemple #1
0
 public NotificationRepository(
     IUnitOfWork <DepContext> unitOfWork,
     IRepositoryExceptionHandler exceptionHandler)
 {
     _unitOfWork       = unitOfWork;
     _exceptionHandler = exceptionHandler;
 }
 public ProductDataRepository(
     IUnitOfWork <DepContext> unitOfWork,
     IValidator <DNewProductRequest> validator,
     IValidator <DUpdateProductDataRequest> updatevalidator,
     IRepositoryExceptionHandler exceptionHandler)
 {
     _unitOfWork       = unitOfWork;
     _validator        = validator;
     _updatevalidator  = updatevalidator;
     _exceptionHandler = exceptionHandler;
 }
Exemple #3
0
 public EmailSender(INotificationRepository notificationRepository, IConfiguration config, IRepositoryExceptionHandler exceptionHandler)
 {
     _notificationRepository = notificationRepository;
     _config           = config;
     _exceptionHandler = exceptionHandler;
 }