public RoleService( ChameleonStoreContext context, IMapper mapper, IDropDownListable dropDownService) : base(context, mapper) { this.dropDownService = dropDownService; }
public AdminProductServiceTest() { this.context = MockDbContext.GetContext(); this.mapper = MockAutoMapper.GetAutoMapper(); this.dropDownService = new DropDownListService(this.context, this.mapper); this.productService = new ProductService(this.context, this.mapper); this.adminProductService = new AdminProductService(this.context, this.mapper, this.productService, this.dropDownService); }
public AdminProductService( ChameleonStoreContext context, IMapper mapper, IProductService products, IDropDownListable dropDownService) : base(context, mapper) { this.products = products; this.dropDownService = dropDownService; }
public ProductsController( ChameleonStoreContext context, IMapper mapper, IAdminProductService products, IDropDownListable dropDownService) { this.context = context; this.mapper = mapper; this.products = products; this.dropDownService = dropDownService; }