public CreatePieceViewModelFactory( IGetMuseumForUserIdQuery museumIdQuery, IGetCountryListQuery countryListQuery, IGetMediumListQuery mediumListQuery, IGetGenreListQuery genreListQuery, IGetSubgenreListQuery subgenreListQuery, IGetSubjectMatterListQuery subjectMatterListQuery, IGetLocationListQuery locationListQuery, IGetUnitOfMeasureListQuery unitOfMeasureListQuery, IGetArtistListQuery artistListQuery, IGetAcquisitionListQuery acquisitionListQuery, IGetPieceSourceListQuery pieceSourceListQuery, IGetFundingSourceListQuery fundingSourceListQuery, IGetCollectionListQuery collectionListQuery) { this.museumQuery = museumIdQuery; this.countryListQuery = countryListQuery; this.mediumListQuery = mediumListQuery; this.genreListQuery = genreListQuery; this.subgenreListQuery = subgenreListQuery; this.subjectMatterListQuery = subjectMatterListQuery; this.locationListQuery = locationListQuery; this.unitOfMeasureListQuery = unitOfMeasureListQuery; this.artistListQuery = artistListQuery; this.acquisitionListQuery = acquisitionListQuery; this.pieceSourceListQuery = pieceSourceListQuery; this.fundingSourceListQuery = fundingSourceListQuery; this.collectionListQuery = collectionListQuery; }
public HomeController( IEmailSender emailSender, UserManager <ApplicationUser> userManager, IGetMuseumForUserIdQuery museumForUserIdQuery) { this.emailSender = emailSender; this.userManager = userManager; this.museumForUserIdQuery = museumForUserIdQuery; }