public void SetUp() { var connection = DbConnectionFactory.CreateTransient(); dbContext = new ItemsDbContext(connection); itemNotificationRepository = new ItemNotificationRepository(dbContext); }
public ItemNotificationJob(IItemNotificationRepository itemNotificationRepository, ExceptionHandler exceptionHandler) { this.itemNotificationRepository = itemNotificationRepository; this.exceptionHandler = exceptionHandler; }
public ItemNotificationController(IItemNotificationRepository itemNotificationRepository) { this.itemNotificationRepository = itemNotificationRepository; }