コード例 #1
0
        public ItemController(
            IItemCreatingPersistence itemCreatingPersistence,
            IItemDeletingPersistence itemDeletingPersistence,
            IItemEditingPersistence itemEditingPersistence,
            IMediaItemStorage itemStorage)
        {
            _itemCreatingPersistence = itemCreatingPersistence;
            _itemDeletingPersistence = itemDeletingPersistence;
            _itemEditingPersistence  = itemEditingPersistence;

            _itemStorage = itemStorage;
        }
コード例 #2
0
        public ItemController(
            IItemCreatingPersistence itemCreatingPersistence, 
            IItemDeletingPersistence itemDeletingPersistence,
            IItemEditingPersistence itemEditingPersistence,
            IMediaItemStorage itemStorage)
        {
            _itemCreatingPersistence = itemCreatingPersistence;
            _itemDeletingPersistence = itemDeletingPersistence;
            _itemEditingPersistence = itemEditingPersistence;

            _itemStorage = itemStorage;
        }