public ProfileController(IPersonService personService, IServeService serveService, IUserImpersonationService impersonationService, IDonorService donorService, IAuthenticationService authenticationService)
 {
     _personService = personService;
     _serveService = serveService;
     _impersonationService = impersonationService;
     _donorService = donorService;
     _authenticationService = authenticationService;
 }
示例#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");
 }
示例#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");
 }
示例#5
0
 public TripController(ITripService tripService, IPersonService persionService)
 {
     _tripService = tripService;
     _personService = persionService;
 }