Esempio n. 1
0
 public EventController(
     IContentManager contentManager,
     IShapeFactory shapeFactory,
     IMemberEventService eventService,
     IArtistUserService artistUserService,
     IRepository <ParticipantRecord> participantRepository,
     ILocalizationService localizationService,
     IOrchardServices orchardServices
     )
 {
     _contentManager        = contentManager;
     Shape                  = shapeFactory;
     _eventService          = eventService;
     _artistUserService     = artistUserService;
     _participantRepository = participantRepository;
     _localizationService   = localizationService;
     _orchardServices       = orchardServices;
 }
Esempio n. 2
0
 public VoteController(
     IPollService pollService,
     IOrchardServices orchardServices,
     IVotingService votingService,
     ISongService songService,
     IOrchardServices services,
     IShapeFactory shapeFactory,
     IArtistUserService artistService)
 {
     _pollService     = pollService;
     _orchardServices = orchardServices;
     _votingService   = votingService;
     _songService     = songService;
     Services         = services;
     T              = NullLocalizer.Instance;
     Shape          = shapeFactory;
     _artistService = artistService;
 }
        public AdminController(
            IPollService pollService,
            ISongService songService,
            ISiteService siteService,
            IXmlService xmlService,
            IShapeFactory shapeFactory,
            IContentManager contentManager,
            IOrchardServices services,
            IArtistUserService artitsUserService)
        {
            _pollService       = pollService;
            _songService       = songService;
            _siteService       = siteService;
            Shape              = shapeFactory;
            _xmlService        = xmlService;
            _contentManager    = contentManager;
            Services           = services;
            _artistUserService = artitsUserService;

            T = NullLocalizer.Instance;
        }