public PersonManagementService(IPersonRepository personRepository, IOrgManagementService orgManagementService, ISupportTeamRepository supportTeamRepository, IRoleManagementService roleManagementService) { Check.Require(personRepository != null, "personRepository may not be null"); _personRepository = personRepository; _orgManagementService = orgManagementService; _supportTeamRepository = supportTeamRepository; _roleManagementService = roleManagementService; }
public PersonManagementService(IPersonRepository personRepository, IOrgManagementService orgManagementService, ISupportTeamRepository supportTeamRepository, IRoleManagementService roleManagementService) { Check.Require(personRepository != null, "personRepository may not be null"); _personRepository = personRepository; _orgManagementService = orgManagementService; _supportTeamRepository = supportTeamRepository; _roleManagementService = roleManagementService; }
public OrgsController(IOrgManagementService orgManagementService, IOrgSearchManagementService orgSearchManagementService, IPersonManagementService personManagementService, IAuthenticationProvider authenticationProvider) { Check.Require(orgManagementService != null, "orgManagementService may not be null"); _orgManagementService = orgManagementService; _orgSearchManagementService = orgSearchManagementService; _personManagementService = personManagementService; _authenticationProvider = authenticationProvider; }
public OrgsController(IOrgManagementService orgManagementService, IOrgSearchManagementService orgSearchManagementService, IPersonManagementService personManagementService, IAuthenticationProvider authenticationProvider) { Check.Require(orgManagementService != null, "orgManagementService may not be null"); _orgManagementService = orgManagementService; _orgSearchManagementService = orgSearchManagementService; _personManagementService = personManagementService; _authenticationProvider = authenticationProvider; }
public RequestManagementService(IRequestRepository requestRepository, IOrgManagementService orgManagementService, IPersonManagementService personManagementService, IRequestTypeManagementService requestTypeManagementService, IRequestStatusManagementService requestStatusManagementService, IWrmsSystemManagementService wrmsSystemManagementService, IAgencyManagementService agencyManagementService, IRequestEstimateManagementService requestEstimateManagementService, ITimeEntryManagementService timeEntryManagementService) { Check.Require(requestRepository != null, "requestRepository may not be null"); _requestRepository = requestRepository; _orgManagementService = orgManagementService; _personManagementService = personManagementService; _requestTypeManagementService = requestTypeManagementService; _requestStatusManagementService = requestStatusManagementService; _wrmsSystemManagementService = wrmsSystemManagementService; _agencyManagementService = agencyManagementService; _requestEstimateManagementService = requestEstimateManagementService; _timeEntryManagementService = timeEntryManagementService; }
public RequestManagementService(IRequestRepository requestRepository, IOrgManagementService orgManagementService, IPersonManagementService personManagementService, IRequestTypeManagementService requestTypeManagementService, IRequestStatusManagementService requestStatusManagementService, IWrmsSystemManagementService wrmsSystemManagementService, IAgencyManagementService agencyManagementService, IRequestEstimateManagementService requestEstimateManagementService, ITimeEntryManagementService timeEntryManagementService) { Check.Require(requestRepository != null, "requestRepository may not be null"); _requestRepository = requestRepository; _orgManagementService = orgManagementService; _personManagementService = personManagementService; _requestTypeManagementService = requestTypeManagementService; _requestStatusManagementService = requestStatusManagementService; _wrmsSystemManagementService = wrmsSystemManagementService; _agencyManagementService = agencyManagementService; _requestEstimateManagementService = requestEstimateManagementService; _timeEntryManagementService = timeEntryManagementService; }
public void SetUp() { ServiceLocatorInitializer.Init(); _orgManagementService = MockRepository.GenerateMock<IOrgManagementService>(); _orgSearchManagementService = MockRepository.GenerateMock<IOrgSearchManagementService>(); _personManagementService = MockRepository.GenerateMock<IPersonManagementService>(); _authenticationProvider = MockRepository.GenerateMock<IAuthenticationProvider>(); _orgsController = new OrgsController(_orgManagementService, _orgSearchManagementService, _personManagementService, _authenticationProvider); }
public void SetUp() { ServiceLocatorInitializer.Init(); _orgRepository = MockRepository.GenerateMock<IOrgRepository>(); _orgRepository.Stub(r => r.DbContext) .Return(MockRepository.GenerateMock<IDbContext>()); _agencyManagementService = MockRepository.GenerateMock<IAgencyManagementService>(); _orgManagementService = new OrgManagementService(_orgRepository, _agencyManagementService); }
public void SetUp() { ServiceLocatorInitializer.Init(); _requestRepository = MockRepository.GenerateMock<IRequestRepository>(); _requestRepository.Stub(r => r.DbContext) .Return(MockRepository.GenerateMock<IDbContext>()); _orgManagementService = MockRepository.GenerateMock<IOrgManagementService>(); _personManagementService = MockRepository.GenerateMock<IPersonManagementService>(); _requestTypeManagementService = MockRepository.GenerateMock<IRequestTypeManagementService>(); _requestStatusManagementService = MockRepository.GenerateMock<IRequestStatusManagementService>(); _wrmsSystemManagementService = MockRepository.GenerateMock<IWrmsSystemManagementService>(); _agencyManagementService = MockRepository.GenerateMock<IAgencyManagementService>(); _timeEntryManagementService = MockRepository.GenerateMock<ITimeEntryManagementService>(); _requestEstimateManagementService = MockRepository.GenerateMock<IRequestEstimateManagementService>(); _requestManagementService = new RequestManagementService(_requestRepository, _orgManagementService, _personManagementService, _requestTypeManagementService, _requestStatusManagementService, _wrmsSystemManagementService, _agencyManagementService, _requestEstimateManagementService, _timeEntryManagementService); }