public CategoryController( IOrchardServices orchardServices, IListingServices listingServices ) { _orchardServices = orchardServices; _listingServices = listingServices; Logger = NullLogger.Instance; }
public ListingController(IListingServices services, ICreateList listCreate, IReadList listRead, IEditList listEdit, IDeleteList listDelete, ListingModel modelList) { this.ListingServices = services; this.CreateList = listCreate; this.ReadList = listRead; this.EditList = listEdit; this.DeleteList = listDelete; this.ListModelc = modelList; }
public SiteController( IRegistrationServices registrationServices, IAuthenticationService authenticationService, IUserEventHandler userEventHandler, IEmailServices emailServices, IListingServices listingServices) { _registrationServices = registrationServices; _emailServices = emailServices; _listingServices = listingServices; _authenticationService = authenticationService; _userEventHandler = userEventHandler; Logger = NullLogger.Instance; CurrentUser = authenticationService.GetAuthenticatedUser(); }
public EmailController( EmailAppManagerContext context, IAppEmailService emailService, IGoogleAuthService googleService, IGmailApiService apiService, IListingServices listingServices, IViewModelMapper <Email, EmailViewModel> emailMapper, IViewModelMapper <IReadOnlyCollection <Email>, HomeViewModel> homeMapper, IViewModelMapper <IReadOnlyCollection <Email>, ListingAllEmailsViewModel> allEmailsListingMapper, IViewModelMapper <IReadOnlyCollection <Email>, ListingValidEmailsViewModel> validEmailsListingMapper) { this.context = context ?? throw new ArgumentNullException(nameof(context)); this.emailService = emailService ?? throw new ArgumentNullException(nameof(emailService)); this.googleService = googleService ?? throw new ArgumentNullException(nameof(googleService)); this.apiService = apiService ?? throw new ArgumentNullException(nameof(apiService)); this.listingServices = listingServices ?? throw new ArgumentNullException(nameof(listingServices)); this.emailMapper = emailMapper ?? throw new ArgumentNullException(nameof(emailMapper)); this.allEmailsListingMapper = allEmailsListingMapper ?? throw new ArgumentNullException(nameof(allEmailsListingMapper)); this.validEmailsListingMapper = validEmailsListingMapper ?? throw new ArgumentNullException(nameof(validEmailsListingMapper)); }
public ApplicationController( EmailAppManagerContext context, IAppEmailService emailService, IGmailApiService apiService, IListingServices listingServices, IApplicationServices applicationServices, IViewModelMapper <Application, ApplicationViewModel> applicationMapper, IViewModelMapper <Email, EmailViewModel> emailMapper, IViewModelMapper <IReadOnlyCollection <Email>, HomeViewModel> homeMapper, IViewModelMapper <IReadOnlyCollection <Application>, ListingOpenApplicationsViewModel> openApplicationsListingMapper, IViewModelMapper <IReadOnlyCollection <Application>, ListingClosedApplicationsViewModel> closedApplicationsListingMapper) { this.context = context ?? throw new ArgumentNullException(nameof(context)); this.emailService = emailService ?? throw new ArgumentNullException(nameof(emailService)); this.apiService = apiService ?? throw new ArgumentNullException(nameof(apiService)); this.listingServices = listingServices ?? throw new ArgumentNullException(nameof(listingServices)); this.applicationServices = applicationServices ?? throw new ArgumentNullException(nameof(applicationServices)); this.applicationMapper = applicationMapper ?? throw new ArgumentNullException(nameof(applicationMapper)); this.emailMapper = emailMapper ?? throw new ArgumentNullException(nameof(emailMapper)); this.openApplicationsListingMapper = openApplicationsListingMapper ?? throw new ArgumentNullException(nameof(openApplicationsListingMapper)); this.closedApplicationsListingMapper = closedApplicationsListingMapper ?? throw new ArgumentNullException(nameof(closedApplicationsListingMapper)); }
public SearchController(IListingServices listingServices) { _listingServices = listingServices; Logger = NullLogger.Instance; }
public CarouselController(IListingServices listingServices) { _listingServices = listingServices; Logger = NullLogger.Instance; }
public FeaturedController(IListingServices listingServices) { _listingServices = listingServices; Logger = NullLogger.Instance; }