Ejemplo n.º 1
0
 public PieceRepositoryFacade(
     ICountryRepository countryRepository,
     IUnitOfMeasureRepository unitOfMeasureRepository,
     IArtistRepository artistRepository,
     IMediumRepository mediumRepository,
     IGenreRepository genreRepository,
     ISubgenreRepository subgenreRepository,
     ISubjectMatterRepository subjectMatterRepository,
     IAcquisitionRepository acquisitionRepository,
     IFundingSourceRepository fundingSourceRepository,
     IPieceSourceRepository pieceSourceRepository,
     ILocationRepository locationRepository,
     ICollectionRepository collectionRepository,
     IPieceRepository pieceRepository,
     IMuseumRepository museumRepository)
 {
     this.countryRepository       = countryRepository;
     this.unitOfMeasureRepository = unitOfMeasureRepository;
     this.artistRepository        = artistRepository;
     this.mediumRepository        = mediumRepository;
     this.genreRepository         = genreRepository;
     this.subgenreRepository      = subgenreRepository;
     this.subjectMatterRepository = subjectMatterRepository;
     this.acquisitionRepository   = acquisitionRepository;
     this.fundingSourceRepository = fundingSourceRepository;
     this.pieceSourceRepository   = pieceSourceRepository;
     this.locationRepository      = locationRepository;
     this.collectionRepository    = collectionRepository;
     this.pieceRepository         = pieceRepository;
     this.museumRepository        = museumRepository;
 }
 public MuseumController(Context context)
 {
     this.museumRepository       = new MuseumRepository(context);
     this.museumTypeRepository   = new MuseumTypeRepository(context);
     this.workingHoursRepository = new WorkingHourRepository(context);
     this.imageRepository        = new ImageRepository(context);
 }
 public GetMuseumForUserIdQuery(
     UserManager <ApplicationUser> userManager,
     IMuseumRepository museumRepository)
 {
     this.userManager      = userManager;
     this.museumRepository = museumRepository;
 }
 public HomeController(Context context)
 {
     this.museumRepository  = new MuseumRepository(context);
     this.adminRepository   = new AdministratorRepository(context);
     this.artworkRepository = new ArtworkRepository(context);
     this.imageRepository   = new ImageRepository(context);
     this.newsRepository    = new NewsRepository(context);
 }
 public HomeController(Context context)
 {
     this.museumRepository = new MuseumRepository(context);
     this.userRepository   = new UserRepository(context);
     this.appLogRepository = new AppLogRepository(context);
     this.ticketRepository = new TicketRepository(context);
     this.clientRepository = new ClientRepository(context);
 }
Ejemplo n.º 6
0
 public MuseumRegistrationService(
     IMuseumRepository museumRepository,
     UserManager <ApplicationUser> userManager,
     IEmailConfirmationService emailConfirmationService)
 {
     this.museumRepository         = museumRepository;
     this.userManager              = userManager;
     this.emailConfirmationService = emailConfirmationService;
 }
Ejemplo n.º 7
0
 public IdentityTokenService(
     UserManager <ApplicationUser> userManager,
     IConfiguration configuration,
     IMuseumRepository museumRepository,
     ILogger <IdentityTokenService> logger)
 {
     this.userManager      = userManager;
     this.configuration    = configuration;
     this.museumRepository = museumRepository;
     this.logger           = logger;
 }
 public ArtworkController(Context context)
 {
     this.artworkRepository     = new ArtworkRepository(context);
     this.artworkTypeRepository = new ArtworkTypeRepository(context);
     this.countryRepository     = new CountryRepository(context);
     this.styleRepository       = new StyleRepository(context);
     this.materialRepository    = new MaterialRepository(context);
     this.artistRepository      = new ArtistRepository(context);
     this.museumRepository      = new MuseumRepository(context);
     this.likesRepository       = new LikesRepository(context);
     this.imageRepository       = new ImageRepository(context);
     this.collectionRepository  = new CollectionRepository(context);
 }
Ejemplo n.º 9
0
 public MuseumController(Context context)
 {
     this.museumRepository            = new MuseumRepository(context);
     this.artworkRepository           = new ArtworkRepository(context);
     this.imageRepository             = new ImageRepository(context);
     this.collectionRepository        = new CollectionRepository(context);
     this.eventRepository             = new EventRepository(context);
     this.newsRepository              = new NewsRepository(context);
     this.tickettypeRepository        = new TicketTypeRepository(context);
     this.ticketRepository            = new TicketRepository(context);
     this.workinghoursRepository      = new WorkingHourRepository(context);
     this.reviewRepository            = new ReviewRepository(context);
     this.userRepository              = new UserRepository(context);
     this.clientRepository            = new ClientRepository(context);
     this.artworkcollectionRepository = new ArtworkCollectionRepository(context);
 }
Ejemplo n.º 10
0
 public MuseumController(Context context)
 {
     this.museumRepository     = new MuseumRepository(context);
     this.museumtypeRepository = new MuseumTypeRepository(context);
     this.userRepository       = new UserRepository(context);
 }
Ejemplo n.º 11
0
 public TicketTypeController(Context context)
 {
     this.tickettypeRepository = new TicketTypeRepository(context);
     this.museumRepository     = new MuseumRepository(context);
 }
Ejemplo n.º 12
0
 public ExhibitInventoryUseCase(IMuseumRepository museumRepository)
 {
     _museumRepository = museumRepository;
 }
 public CollectionController(Context context)
 {
     this.collectionRepository = new CollectionRepository(context);
     this.imageRepository      = new ImageRepository(context);
     this.museumRepository     = new MuseumRepository(context);
 }
Ejemplo n.º 14
0
 public NewsController(Context context)
 {
     this.newsRepository   = new NewsRepository(context);
     this.imageRepository  = new ImageRepository(context);
     this.museumRepository = new MuseumRepository(context);
 }
 public RemoveMuseumCommand(IMuseumRepository museumRepository)
 {
     this.museumRepository = museumRepository;
 }
 public EventController(Context context)
 {
     this.eventRepository  = new EventRepository(context);
     this.museumRepository = new MuseumRepository(context);
 }