public ProductsController(IProductTasks productTasks, ICategoryTasks categoryTasks, IProductsQuery productsQuery, ICommandProcessor commandProcessor, ICaptchaTasks captchaTasks) { _productTasks = productTasks; _categoryTasks = categoryTasks; _productsQuery = productsQuery; _commandProcessor = commandProcessor; _captchaTasks = captchaTasks; }
public ProfileController( IIdentityService identityService, IProfileTasks userTasks, ICategoryTasks categoryTasks, IMapper <Profile, ViewProfilePageViewModel> viewProfilePageViewModelMapper, IMapper <Profile, IList <Category>, UpdateProfilePageViewModel> updateProfilePageViewModelMapper, ICreateProfilePageViewModelBuilder createProfilePageViewModelBuilder) { this.identityService = identityService; this.createProfilePageViewModelBuilder = createProfilePageViewModelBuilder; this.userTasks = userTasks; this.categoryTasks = categoryTasks; this.viewProfilePageViewModelMapper = viewProfilePageViewModelMapper; this.updateProfilePageViewModelMapper = updateProfilePageViewModelMapper; }
public ProfileController( IIdentityService identityService, IProfileTasks userTasks, ICategoryTasks categoryTasks, IMapper<Profile, ViewProfilePageViewModel> viewProfilePageViewModelMapper, IMapper<Profile, IList<Category>, UpdateProfilePageViewModel> updateProfilePageViewModelMapper, ICreateProfilePageViewModelBuilder createProfilePageViewModelBuilder) { this.identityService = identityService; this.createProfilePageViewModelBuilder = createProfilePageViewModelBuilder; this.userTasks = userTasks; this.categoryTasks = categoryTasks; this.viewProfilePageViewModelMapper = viewProfilePageViewModelMapper; this.updateProfilePageViewModelMapper = updateProfilePageViewModelMapper; }
public ProfileController( IIdentityTasks identityTasks, IProfileTasks userTasks, ICategoryTasks categoryTasks, IMapper<Profile, ViewProfilePageViewModel> viewProfilePageViewModelMapper, IMapper<Profile, IList<Category>, UpdateProfilePageViewModel> updateProfilePageViewModelMapper, IMapper<AddAssertionFormModel, Identity, AddAssertionDetails> addAssertionDetailsMapper, IMapper<CreateProfileDetails, CreateProfilePageViewModel> createProfilePageViewModelMapper, IMapper<CreateProfileFormModel, Identity, CreateProfileDetails> createProfileDetailsMapper) { this.identityTasks = identityTasks; this.userTasks = userTasks; this.categoryTasks = categoryTasks; this.viewProfilePageViewModelMapper = viewProfilePageViewModelMapper; this.updateProfilePageViewModelMapper = updateProfilePageViewModelMapper; this.addAssertionDetailsMapper = addAssertionDetailsMapper; this.createProfilePageViewModelMapper = createProfilePageViewModelMapper; this.createProfileDetailsMapper = createProfileDetailsMapper; }
public void Setup() { _tasks = MockRepository.GenerateMock<ICategoryTasks>(); _controller = new CategoriesController(_tasks); }
public void Setup() { _productTasks = MockRepository.GenerateMock<IProductTasks>(); _categoryTasks = MockRepository.GenerateMock<ICategoryTasks>(); _productsQuery = MockRepository.GenerateMock<IProductsQuery>(); _commandProcessor = MockRepository.GenerateMock<ICommandProcessor>(); _captchaTasks = MockRepository.GenerateMock<ICaptchaTasks>(); _controller = new ProductsController(_productTasks, _categoryTasks, _productsQuery, _commandProcessor, _captchaTasks); }
public void Setup() { _productTasks = MockRepository.GenerateMock<IProductTasks>(); _categoryTasks = MockRepository.GenerateMock<ICategoryTasks>(); _handler = new MassCategoryChangeHandler(_productTasks, _categoryTasks); }
public CategoriesController(ICategoryTasks categoryTasks) { this.categoryTasks = categoryTasks; }
public ProductBinder(ICategoryTasks categoryTasks) { _categoryTasks = categoryTasks; }
public CategoriesController(ICategoryTasks tasks) { _tasks = tasks; }