public SiteApiController(INewsService newsService, ILocationService locationService, IPollAnswerService pollAnswerService, IPollService pollService, ILinkTrackerService linkTrackerService, IFormService formService, IContactService contactService, IDocumentService documentService, IProtectedDocumentLogService protectedDocumentLogService, ISubscriptionService subscriptionService) { _newsService = newsService; _locationService = locationService; _pollAnswerService = pollAnswerService; _pollService = pollService; _linkTrackerService = linkTrackerService; _formService = formService; _contactService = contactService; _documentService = documentService; _protectedDocumentLogService = protectedDocumentLogService; _subscriptionService = subscriptionService; }
public DocumentService(IRepository <ProtectedDocument> protectedDocumentRepository, IProtectedDocumentGroupRepository protectedDocumentGroupRepository, IProtectedDocumentCompanyRepository protectedDocumentCompanyRepository, IProtectedDocumentCompanyTypeRepository protectedDocumentCompanyTypeRepository, ISiteSettingService siteSettingService, IProtectedDocumentLogService protectedDocumentLogService, IEmailTemplateService emailTemplateService, IEmailLogService emailLogService) { _protectedDocumentRepository = protectedDocumentRepository; _protectedDocumentGroupRepository = protectedDocumentGroupRepository; _protectedDocumentCompanyRepository = protectedDocumentCompanyRepository; _protectedDocumentCompanyTypeRepository = protectedDocumentCompanyTypeRepository; _siteSettingService = siteSettingService; _protectedDocumentLogService = protectedDocumentLogService; _emailTemplateService = emailTemplateService; _emailLogService = emailLogService; }