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; }
public EmailSender(INotificationRepository notificationRepository, IConfiguration config, IRepositoryExceptionHandler exceptionHandler) { _notificationRepository = notificationRepository; _config = config; _exceptionHandler = exceptionHandler; }