public ImportProductsService(IGetDocumentByUrl <MediaCategory> getByUrl,
                              IMediaCategoryAdminService mediaCategoryAdminService,
                              IImportProductSpecificationsService importSpecificationsService,
                              IImportProductVariantsService importProductVariantsService,
                              IImportProductImagesService importProductImagesService,
                              IImportProductUrlHistoryService importUrlHistoryService, ISession session,
                              IUniquePageService uniquePageService, ICreateBatch createBatch, IGetNewBrandPage getNewBrandPage)
 {
     _getByUrl = getByUrl;
     _mediaCategoryAdminService    = mediaCategoryAdminService;
     _importSpecificationsService  = importSpecificationsService;
     _importProductVariantsService = importProductVariantsService;
     _importProductImagesService   = importProductImagesService;
     _importUrlHistoryService      = importUrlHistoryService;
     _session           = session;
     _uniquePageService = uniquePageService;
     _createBatch       = createBatch;
     _getNewBrandPage   = getNewBrandPage;
 }
Ejemplo n.º 2
0
 public MediaCategoryControllerTests()
 {
     _fileAdminService          = A.Fake <IFileAdminService>();
     _mediaCategoryAdminService = A.Fake <IMediaCategoryAdminService>();
     _mediaCategoryController   = new MediaCategoryController(_mediaCategoryAdminService, _fileAdminService);
 }
Ejemplo n.º 3
0
 public MediaCategoryController(IMediaCategoryAdminService mediaCategoryAdminService, IFileAdminService fileAdminService)
 {
     _mediaCategoryAdminService = mediaCategoryAdminService;
     _fileAdminService          = fileAdminService;
 }
Ejemplo n.º 4
0
 public ImportPictureData(IFileService fileService, IGetDocumentByUrl <MediaCategory> getByUrl, IMediaCategoryAdminService mediaCategoryAdminService)
 {
     _fileService = fileService;
     _getByUrl    = getByUrl;
     _mediaCategoryAdminService = mediaCategoryAdminService;
 }
Ejemplo n.º 5
0
 public SetupProduct(ISession session, IGetDocumentByUrl <MediaCategory> mediaCategoryByUrl, IMediaCategoryAdminService mediaCategoryAdminService)
 {
     _session                   = session;
     _mediaCategoryByUrl        = mediaCategoryByUrl;
     _mediaCategoryAdminService = mediaCategoryAdminService;
 }