public ProfileController(IPersonService personService, IServeService serveService, IUserImpersonationService impersonationService, IDonorService donorService, IAuthenticationService authenticationService)
 {
     _personService = personService;
     _serveService = serveService;
     _impersonationService = impersonationService;
     _donorService = donorService;
     _authenticationService = authenticationService;
 }
Beispiel #2
0
 public ProfileController(IPersonService personService, IServeService serveService, IUserImpersonationService impersonationService, IDonorService donorService, IAuthenticationRepository authenticationService, IUserRepository userService, IContactRelationshipRepository contactRelationshipService, IConfigurationWrapper config, IUserImpersonationService userImpersonationService) : base(userImpersonationService, authenticationService)
 {
     _personService               = personService;
     _serveService                = serveService;
     _impersonationService        = impersonationService;
     _donorService                = donorService;
     _authenticationService       = authenticationService;
     _userService                 = userService;
     _contactRelationshipService  = contactRelationshipService;
     _allowedAdminGetProfileRoles = config.GetConfigValue("AdminGetProfileRoles").Split(',').Select(int.Parse).ToList();
 }
 public EmailCommunication(ICommunicationService communicationService, 
     IPersonService personService, 
     IContactService contactService,
     IConfigurationWrapper configurationWrapper)
 {
     _communicationService = communicationService;
     _personService = personService;
     _contactService = contactService;
     _configurationWrapper = configurationWrapper;
     DefaultContactEmailId = _configurationWrapper.GetConfigIntValue("DefaultContactEmailId");
 }
Beispiel #4
0
 public EmailCommunication(ICommunicationRepository communicationService,
                           IPersonService personService,
                           IContactRepository contactService,
                           IConfigurationWrapper configurationWrapper)
 {
     _communicationService = communicationService;
     _personService        = personService;
     _contactService       = contactService;
     _configurationWrapper = configurationWrapper;
     DefaultContactEmailId = _configurationWrapper.GetConfigIntValue("DefaultContactEmailId");
     DomainID            = _configurationWrapper.GetConfigIntValue("DomainId");
     DefaultAuthorUserId = _configurationWrapper.GetConfigIntValue("DefaultAuthorUser");
 }
 public TripController(ITripService tripService, IPersonService persionService)
 {
     _tripService = tripService;
     _personService = persionService;
 }