public OrderItemsController( IArtRepository repository, ILogger <OrderItemsController> logger, IMapper mapper) { _repository = repository; _logger = logger; _mapper = mapper; }
public ProfileController(ImageDbContext context, IWebHostEnvironment hostEnvironment, IImageRepository imageRepository, IMemberRepository memberRepository, IArtRepository artRepository, IRelationshipRepository relationshipRepository, UserManager <ApplicationUser> userManager) { _context = context; _hostEnvironment = hostEnvironment; ImageRepository = imageRepository; MemberRepository = memberRepository; ArtRepository = artRepository; RelationshipRepository = relationshipRepository; _userManager = userManager; }
public OrdersController( IArtRepository repository, ILogger <OrdersController> logger, IMapper mapper, UserManager <StoreUser> userManager) { _repository = repository; _logger = logger; _mapper = mapper; _userManager = userManager; }
static Program() { AppDbContextFactory factory = new AppDbContextFactory(); _appContext = factory.CreateDbContext(null); _albumRepository = new AlbumRepository(_appContext); _artRepository = new ArtRepository(_appContext); _artistDataRepository = new ArtistDataRepository(_appContext); _commonUserDataRepository = new CommonUserDataRepository(_appContext); _countryRepository = new CountryRepository(_appContext); _distributorDataRepository = new DistributorDataRepository(_appContext); _genreRepository = new GenreRepository(_appContext); _playlistRepository = new PlaylistRepository(_appContext); _trackRepository = new TrackRepository(_appContext); _userRepository = new UserRepository(_appContext); _userLibraryRepository = new UserLibraryRepository(_appContext); }
public CommunityController(IMemberRepository memberRepository, IImageRepository imageRepository, IArtRepository artRepository, IRelationshipRepository relationshipRepository, UserManager <ApplicationUser> userManager) { MemberRepository = memberRepository; ImageRepository = imageRepository; ArtRepository = artRepository; RelationshipRepository = relationshipRepository; _userManager = userManager; }
public ArtService(IArtRepository repo) { Checks.Argument.IsNotNull(repo, "repo"); _repo = repo; }
public ArtworkDetailController(IArtRepository artRepository, IMemberRepository memberRepository) { ArtRepository = artRepository; MemberRepository = memberRepository; }
public ArtController(IArtRepository artRepository) { _repository = artRepository; }
public HomeController(ILogger <HomeController> logger, IArtRepository artRepository, IMemberRepository memberRepository) { _logger = logger; ArtRepository = artRepository; MemberRepository = memberRepository; }
public ArtController(IArtRepository artRepository) { this.artRepository = artRepository; }
public AppController(INullMailService mailService, IArtRepository repository) { _mailService = mailService; _repository = repository; }
public ShoppingCartController(IArtRepository artRepository, ShoppingCart shoppingCart) { _artRepository = artRepository; _shoppingCart = shoppingCart; }
public ArtService(IArtRepository artRepository) { _artRepository = artRepository; }
public ProfileArtController(IArtRepository artRepository, IFileService fileService) { this.artRepository = artRepository; this.fileService = fileService; }
public ProductsController(IArtRepository repository, ILogger <ProductsController> logger) { _repository = repository; _logger = logger; }
public HomeController(IArtRepository artRepository) { _artRepository = artRepository; }
public CategoriesService(ICategoryRepository categoryRepository , IArtRepository artsRepository) { this.categoryRepository = categoryRepository; this.artsRepository = artsRepository; }
public ShowroomController(IArtRepository artRepository, IMemberRepository memberRepository) { this.memberRepository = memberRepository; this.artRepository = artRepository; }
public PaintingsController(IArtRepository artRepository) { _artRepository = artRepository; _artCollection = _artRepository.Read(); }
public AppController(IArtRepository repository, IMailService mailService) { _repository = repository; _mailService = mailService; }
public ArtController(IArtRepository artRepository, ICategoryRepository categoryRepository) { _artRepository = artRepository; _categoryRepository = categoryRepository; }