public SalesController(ISalesRepository repo, IAlbumsRepository repoAlbums, ICashbackRepository repoCash) { _repo = repo; _repoAlbums = repoAlbums; _repoCash = repoCash; }
//private readonly ILog _log; public StoreController(IGenreRepository genres, IAlbumsRepository albums, ILogProvider log) { _genres = genres; _albums = albums; _log = log; //_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); }
//MusicStoreEntities storeDB = new MusicStoreEntities(); public ShoppingCart(IUnitOfWork unitOfWork, ICartRepository carts, IAlbumsRepository albums, IOrderDetailRepository orderDetails) { _unitOfWork = unitOfWork; _carts = carts; _albums = albums; _orderDetails = orderDetails; }
public ShoppingCartFactory(IUnitOfWork unitOfWork, ICartRepository carts, IAlbumsRepository albums, IOrderDetailRepository orderDetails) { _unitOfWork = unitOfWork; _carts = carts; _albums = albums; _orderDetails = orderDetails; }
//private MusicStoreEntities db = new MusicStoreEntities(); public StoreManagerController(IUnitOfWork unitOfWork, IGenreRepository genres, IAlbumsRepository albums, IArtistRepository artists) { _unitOfWork = unitOfWork; _genres = genres; _albums = albums; _artists = artists; }
public AlbumPageViewPresenter( IDependencyResolverContainer container, IAlbumsRepository albumsRepository) : base(container) { this.albumsRepository = albumsRepository; }
internal ArtistPageViewPresenter( IApplicationResources resources, IPlayQueueService playQueueService, INavigationService navigationService, IPlaylistsService playlistsService, IAlbumsRepository albumsRepository, ISongsCachingService cachingService, IApplicationStateService stateService) { this.resources = resources; this.playQueueService = playQueueService; this.navigationService = navigationService; this.playlistsService = playlistsService; this.albumsRepository = albumsRepository; this.cachingService = cachingService; this.stateService = stateService; this.PlayCommand = new DelegateCommand(this.Play); this.ShowAllCommand = new DelegateCommand(this.ShowAll); this.QueueCommand = new DelegateCommand(this.Queue, () => this.BindingModel.SelectedItems.Count > 0); this.DownloadCommand = new DelegateCommand(this.Download, () => this.BindingModel.SelectedItems.Count > 0); this.UnPinCommand = new DelegateCommand(this.UnPin, () => this.BindingModel.SelectedItems.Count > 0); }
public AlbumsController(IAlbumsRepository repository) { this.repository = repository; }
public AlbumsController(ILogger logger, IAlbumsRepository albumsRepository, IPhotosRepository photosRepository) { _logger = (logger?.ForContext <AlbumsController>()).ThrowIfNull(nameof(logger)); _albumsRepository = albumsRepository.ThrowIfNull(nameof(albumsRepository)); _photosRepository = photosRepository.ThrowIfNull(nameof(photosRepository)); }
public AlbumsService(IAlbumsRepository repository) { _repository = repository; }
public AlbumCoordinator(IAlbumsRepository albumsRepository) { _albumRepository = albumsRepository; }
public AlbumsController(IAlbumsRepository repo) { _repo = repo; }
public PhotosService(IAlbumsRepository albumsInterface, ICommentsService commentsService) { _commentsService = commentsService; _albumsInterface = albumsInterface; }
public AlbumsController(IAlbumsRepository context) { _context = context; }
public IAlbumsRepository GetAlbumsRepository() { return s_albumsRepository ?? (s_albumsRepository = new AlbumsRepository(this)); }
public AlbumService(IAlbumsRepository albumsRepository) { this._albumsRepository = albumsRepository; }
public CommentsService(IAlbumsRepository albumsInterface) { _albumsInterface = albumsInterface; }
public UsersController(ILogger logger, IAlbumsRepository albumsRepository) { _logger = (logger?.ForContext <UsersController>()).ThrowIfNull(nameof(logger)); _albumsRepository = albumsRepository.ThrowIfNull(nameof(albumsRepository)); }
public CommentsController(IAlbumsRepository repo) { _repo = repo; }
//MusicStoreEntities storeDB = new MusicStoreEntities(); public ShoppingCartController(ICartRepository carts, IAlbumsRepository albums, ShoppingCartFactory shoppingCartFactory) { _carts = carts; _albums = albums; _shoppingCartFactory = shoppingCartFactory; }
public HomeController(IAlbumsRepository albumsRepository) { _albumsRepository = albumsRepository; }