public CartRepository(IRepository repository, CartListItemViewModel.Factory itemViewModelFactory) { this.repository = repository; this.itemViewModelFactory = itemViewModelFactory; }
public CartSerializer(IRepository repository, CartViewModel.Factory cartFactory, CartListItemViewModel.Factory itemFactory) { this.repository = repository; this.cartFactory = cartFactory; this.itemFactory = itemFactory; }