public AttributeService(MPInterfaces.IAttributeRepository attributeRepository, IMinistryPlatformRestRepository restRepository, IApiUserRepository apiUserRepository) { _attributeRepository = attributeRepository; _ministryPlatformRestRepository = restRepository; _apiUserRepository = apiUserRepository; }
public ObjectAttributeService( MPInterfaces.IObjectAttributeRepository mpObjectAttributeService, IAttributeService attributeService, MPInterfaces.IApiUserRepository apiUserService, MPInterfaces.IAttributeRepository mpAttributeService) { _mpObjectAttributeService = mpObjectAttributeService; _attributeService = attributeService; _apiUserService = apiUserService; _mpAttributeService = mpAttributeService; }
public GroupService(IGroupRepository mpGroupRepository, IConfigurationWrapper configurationWrapper, IEventRepository eventService, IContactRelationshipRepository contactRelationshipService, IServeService serveService, IParticipantRepository participantService, ICommunicationRepository communicationService, IContactRepository contactService, IObjectAttributeService objectAttributeService, IApiUserRepository apiUserService, IAttributeRepository attributeRepository, IEmailCommunication emailCommunicationService, IUserRepository userRepository, IInvitationRepository invitationRepository, IAttributeService attributeService, IDateTime dateTimeWrapper) { _mpGroupRepository = mpGroupRepository; _configurationWrapper = configurationWrapper; _eventService = eventService; _contactRelationshipService = contactRelationshipService; _serveService = serveService; _participantService = participantService; _communicationService = communicationService; _contactService = contactService; _objectAttributeService = objectAttributeService; _apiUserService = apiUserService; _attributeRepository = attributeRepository; _emailCommunicationService = emailCommunicationService; _userRepository = userRepository; _invitationRepository = invitationRepository; _attributeService = attributeService; _domainId = configurationWrapper.GetConfigIntValue("DomainId"); _groupRoleDefaultId = _configurationWrapper.GetConfigIntValue("Group_Role_Default_ID"); _defaultAuthorUserId = configurationWrapper.GetConfigIntValue("DefaultAuthorUser"); _defaultContactEmailId = _configurationWrapper.GetConfigIntValue("DefaultContactEmailId"); _journeyGroupTypeId = configurationWrapper.GetConfigIntValue("JourneyGroupTypeId"); _groupCategoryAttributeTypeId = configurationWrapper.GetConfigIntValue("GroupCategoryAttributeTypeId"); _groupTypeAttributeTypeId = configurationWrapper.GetConfigIntValue("GroupTypeAttributeTypeId"); _groupAgeRangeAttributeTypeId = configurationWrapper.GetConfigIntValue("GroupAgeRangeAttributeTypeId"); _groupRoleLeader = configurationWrapper.GetConfigIntValue("GroupRoleLeader"); _onsiteGroupTypeId = _configurationWrapper.GetConfigIntValue("OnsiteGroupTypeId"); _childcareEventTypeId = _configurationWrapper.GetConfigIntValue("ChildcareEventType"); _removeSelfFromGroupTemplateId = _configurationWrapper.GetConfigIntValue("RemoveSelfFromGroupTemplateId"); _dateTimeWrapper = dateTimeWrapper; }