public CommonController(IGeolocationService geolocationservice, IPermissionService permissionService, SiteSettings siteSettings, IWorkContext workContext)
 {
     _geolocationService = geolocationservice;
     _permissionService = permissionService;
     _siteSettings = siteSettings;
     _workContext = workContext;
 }
Пример #2
0
 public UserService(CoreSettings coreSettings, HttpContextBase httpContext, SiteSettings siteSettings, IRepository<User> userRepository, IRepository<UserRole> userRoleRepository)
 {
     _coreSettings = coreSettings;
     _httpContext = httpContext;
     _siteSettings = siteSettings;
     _userRepository = userRepository;
     _userRoleRepository = userRoleRepository;
 }
 public MessageQueueService(CoreSettings coreSettings, HttpContextBase httpContext, IRepository<MessageQueue> messageQueueRepository, SiteSettings siteSettings, IUserService userService, IWebHelper webHelper)
 {
     _coreSettings = coreSettings;
     _httpContext = httpContext;
     _messageQueueRepository = messageQueueRepository;
     _siteSettings = siteSettings;
     _userService = userService;
     _webHelper = webHelper;
 }
 public HomeController(ICategoryService categoryService, ILocationService locationService, IProjectService projectService, SiteSettings siteSettings, ISuccessStoryService successStoryService, ITweetService tweetService, IWebHelper webHelper)
 {
     _categoryService = categoryService;
     _locationService = locationService;
     _projectService = projectService;
     _siteSettings = siteSettings;
     _successStoryService = successStoryService;
     _tweetService = tweetService;
     _webHelper = webHelper;
 }
 public ProjectController(ICategoryService categoryService, ICommentService commentService, IGeolocationService geolocationService, ILocationService locationService, ILogService logService, IModerationQueueService moderationQueueService, IProjectService projectService, IProfanityService profanityService, SiteSettings siteSettings, IUserService userService, IWebHelper webHelper, IWorkContext workContext)
 {
     _categoryService = categoryService;
     _commentService = commentService;
     _geolocationService = geolocationService;
     _locationService = locationService;
     _logService = logService;
     _moderationQueueService = moderationQueueService;
     _profanityService = profanityService;
     _projectService = projectService;
     _siteSettings = siteSettings;
     _userService = userService;
     _webHelper = webHelper;
     _workContext = workContext;
 }
 public SuccessStoryController(SiteSettings siteSettings, ISuccessStoryService successStoryService)
 {
     _siteSettings = siteSettings;
     _successStoryService = successStoryService;
 }
 public ContactController(IMessageQueueService messageQueueService, SiteSettings siteSettings, IUserService userService)
 {
     _messageQueueService = messageQueueService;
     _siteSettings = siteSettings;
     _userService = userService;
 }