public UserGroupService(IGroupPermissionRepository groupPermissionRepository, IRepository <UserGroup> userGroupRepository, IProtectedDocumentGroupRepository protectedDocumentGroupRepository, IPageSecurityRepository pageSecurityRepository ) { _groupPermissionRepository = groupPermissionRepository; _userGroupRepository = userGroupRepository; _protectedDocumentGroupRepository = protectedDocumentGroupRepository; _pageSecurityRepository = pageSecurityRepository; }
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; }