public AssignmentPostUserController(IPersonManagementService personManagementService, IRoleManagementService roleManagementService,
                                     IStructureManageService structureManageService)
 {
     _personManagementService = personManagementService;
     _roleManagementService   = roleManagementService;
     _structureManageService  = structureManageService;
 }
 public ProfileController(IPersonManagementService personManagementService,
                          IRoleManagementService roleManagementService, IStructureManageService structureManageService)
 {
     _personManagementService = personManagementService;
     _roleManagementService   = roleManagementService;
     _structureManageService  = structureManageService;
 }
Beispiel #3
0
 public MemberController(IMemberManagementService memberManagementService,
                         IRoleManagementService roleManagementService, IPersonManagementService personManagementService)
 {
     _memberManagementService = memberManagementService;
     _roleManagementService   = roleManagementService;
     _personManagementService = personManagementService;
 }
Beispiel #4
0
 public CartableHub(IRequestService requestService, ICartableService cartableService,
                    IPersonManagementService personManagementService, IApplicationRoleManager roleManager)
 {
     _requestService          = requestService;
     _personManagementService = personManagementService;
     _roleManager             = roleManager;
     _cartableService         = cartableService;
 }
        public SupportTeamManagementService(ISupportTeamRepository supportTeamRepository,
                                            IPersonManagementService personManagementService)
        {
            Check.Require(supportTeamRepository != null, "supportTeamRepository may not be null");

            this._supportTeamRepository = supportTeamRepository;
            this._personManagementService = personManagementService;
        }
        public WrmsSystemManagementService(IWrmsSystemRepository wrmsSystemRepository,
                                           IPersonManagementService personManagementService)
        {
            Check.Require(wrmsSystemRepository != null, "wrmsSystemRepository may not be null");

            _wrmsSystemRepository = wrmsSystemRepository;
            _personManagementService = personManagementService;
        }
Beispiel #7
0
        public HostManagementService(IHostRepository hostRepository, IPersonManagementService personManagementService)
        {
            Check.Require(hostRepository != null, "hostRepository may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");

            this._hostRepository          = hostRepository;
            this._personManagementService = personManagementService;
        }
Beispiel #8
0
        public WrmsSystemManagementService(IWrmsSystemRepository wrmsSystemRepository,
                                           IPersonManagementService personManagementService)
        {
            Check.Require(wrmsSystemRepository != null, "wrmsSystemRepository may not be null");

            _wrmsSystemRepository    = wrmsSystemRepository;
            _personManagementService = personManagementService;
        }
Beispiel #9
0
        public SupportTeamManagementService(ISupportTeamRepository supportTeamRepository,
                                            IPersonManagementService personManagementService)
        {
            Check.Require(supportTeamRepository != null, "supportTeamRepository may not be null");

            this._supportTeamRepository   = supportTeamRepository;
            this._personManagementService = personManagementService;
        }
Beispiel #10
0
        public TimeEntryAuditManagementService(ITimeEntryAuditRepository timeEntryAuditRepository, IPersonManagementService personManagementService, ITimeEntryRepository timeEntryRepository)
        {
            Check.Require(timeEntryAuditRepository != null, "timeEntryRepository may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _timeEntryAuditRepository = timeEntryAuditRepository;
            _personManagementService  = personManagementService;
            _timeEntryRepository      = timeEntryRepository;
        }
Beispiel #11
0
 public AccountController(IAuthenticationManagementService authenticationManagementService,
                          IPersonManagementService personManagementService, IUniversityRepository universityRepository,
                          ISliderService sliderService)
 {
     _authenticationManagementService = authenticationManagementService;
     _personManagementService         = personManagementService;
     _universityRepository            = universityRepository;
     _sliderService = sliderService;
 }
        public TimeEntryAuditManagementService(ITimeEntryAuditRepository timeEntryAuditRepository, IPersonManagementService personManagementService, ITimeEntryRepository timeEntryRepository)
        {
            Check.Require(timeEntryAuditRepository != null, "timeEntryRepository may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _timeEntryAuditRepository = timeEntryAuditRepository;
            _personManagementService = personManagementService;
            _timeEntryRepository = timeEntryRepository;
        }
 public RequestSearchManagementService(IRequestRepository requestRepository,
                                       IWrmsSystemManagementService wrmsSystemManagementService,
                                       IPersonManagementService personManagementService,
                                       IRequestStatusManagementService requestStatusManagementService)
 {
     _requestRepository = requestRepository;
     _wrmsSystemManagementService = wrmsSystemManagementService;
     _personManagementService = personManagementService;
     _requestStatusManagementService = requestStatusManagementService;
 }
Beispiel #14
0
 public EmployeesController(IPersonManagementService personService,
                            IUrlHelper uriHelper,
                            IHostingEnvironment hostingEnvironment,
                            IHttpContextAccessor accessor)
 {
     _personService      = personService;
     _uriHelper          = uriHelper;
     _hostingEnvironment = hostingEnvironment;
     _accessor           = accessor;
 }
Beispiel #15
0
        public PeopleController(IPersonManagementService personManagementService,
                                IPersonSearchManagementService personSearchManagementService,
                                IAuthenticationProvider authenticationProvider)
        {
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _personManagementService       = personManagementService;
            _personSearchManagementService = personSearchManagementService;
            _authenticationProvider        = authenticationProvider;
        }
Beispiel #16
0
        public PeopleController(IPersonManagementService personManagementService,
                                IPersonSearchManagementService personSearchManagementService,
                                IAuthenticationProvider authenticationProvider)
        {
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _personManagementService = personManagementService;
            _personSearchManagementService = personSearchManagementService;
            _authenticationProvider = authenticationProvider;
        }
 public RequestSearchManagementService(IRequestRepository requestRepository,
                                       IWrmsSystemManagementService wrmsSystemManagementService,
                                       IPersonManagementService personManagementService,
                                       IRequestStatusManagementService requestStatusManagementService)
 {
     _requestRepository              = requestRepository;
     _wrmsSystemManagementService    = wrmsSystemManagementService;
     _personManagementService        = personManagementService;
     _requestStatusManagementService = requestStatusManagementService;
 }
Beispiel #18
0
        public AgenciesController(IAgencyManagementService agencyManagementService,
                                  IAgencySearchManagementService agencySearchManagementService,
                                  IPersonManagementService personManagementService,
                                  IAuthenticationProvider authenticationProvider)
        {
            Check.Require(agencyManagementService != null, "agencyManagementService may not be null");

            _agencyManagementService       = agencyManagementService;
            _agencySearchManagementService = agencySearchManagementService;
            _personManagementService       = personManagementService;
            _authenticationProvider        = authenticationProvider;
        }
Beispiel #19
0
        public RequestsController(IRequestManagementService requestManagementService,
                                  IRequestSearchManagementService requestSearchManagementService,
                                  IPersonManagementService personManagementService,
                                  IAuthenticationProvider authenticationProvider)
        {
            Check.Require(requestManagementService != null, "requestManagementService may not be null");

            _requestManagementService       = requestManagementService;
            _requestSearchManagementService = requestSearchManagementService;
            _personManagementService        = personManagementService;
            _authenticationProvider         = authenticationProvider;
        }
Beispiel #20
0
        public RequestEstimatesController(IRequestEstimateManagementService requestEstimateManagementService,
                                          IPersonManagementService personManagementService,
                                          IAuthenticationProvider authenticationProvider)
        {
            Check.Require(requestEstimateManagementService != null, "requestEstimateManagementService may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");
            Check.Require(authenticationProvider != null, "authenticationProvider may not be null");

            _requestEstimateManagementService = requestEstimateManagementService;
            _personManagementService          = personManagementService;
            _authenticationProvider           = authenticationProvider;
        }
Beispiel #21
0
        public WrmsSystemsController(IWrmsSystemManagementService wrmsSystemManagementService,
                                     IWrmsSystemSearchManagementService wrmsSystemSearchManagementService,
                                     IPersonManagementService personManagementService,
                                     IAuthenticationProvider authenticationProvider)
        {
            Check.Require(wrmsSystemManagementService != null, "wrmsSystemManagementService may not be null");

            _wrmsSystemManagementService       = wrmsSystemManagementService;
            _wrmsSystemSearchManagementService = wrmsSystemSearchManagementService;
            _personManagementService           = personManagementService;
            _authenticationProvider            = authenticationProvider;
        }
Beispiel #22
0
        public SupportTeamsController(ISupportTeamManagementService supportTeamManagementService,
                                      ISupportTeamSearchManagementService supportTeamSearchManagementService,
                                      IPersonManagementService personManagementService,
                                      IAuthenticationProvider authenticationProvider)
        {
            Check.Require(supportTeamManagementService != null, "supportTeamManagementService may not be null");

            this._supportTeamManagementService  = supportTeamManagementService;
            _supportTeamSearchManagementService = supportTeamSearchManagementService;
            _personManagementService            = personManagementService;
            _authenticationProvider             = authenticationProvider;
        }
Beispiel #23
0
        public HostsController(IHostManagementService hostManagementService,
                               IHostSearchManagementService hostSearchManagementService,
                               IPersonManagementService personManagementService,
                               IAuthenticationProvider authenticationProvider)
        {
            Check.Require(hostManagementService != null, "hostManagementService may not be null");

            this._hostManagementService = hostManagementService;
            _hostSearchManagementService = hostSearchManagementService;
            _personManagementService = personManagementService;
            _authenticationProvider = authenticationProvider;
        }
Beispiel #24
0
        public RequestsController(IRequestManagementService requestManagementService,
                                  IRequestSearchManagementService requestSearchManagementService,
                                  IPersonManagementService personManagementService,
                                  IAuthenticationProvider authenticationProvider)
        {
            Check.Require(requestManagementService != null, "requestManagementService may not be null");

            _requestManagementService = requestManagementService;
            _requestSearchManagementService = requestSearchManagementService;
            _personManagementService = personManagementService;
            _authenticationProvider = authenticationProvider;
        }
Beispiel #25
0
        public AgenciesController(IAgencyManagementService agencyManagementService,
                                  IAgencySearchManagementService agencySearchManagementService,
                                  IPersonManagementService personManagementService,
                                  IAuthenticationProvider authenticationProvider)
        {
            Check.Require(agencyManagementService != null, "agencyManagementService may not be null");

            _agencyManagementService = agencyManagementService;
            _agencySearchManagementService = agencySearchManagementService;
            _personManagementService = personManagementService;
            _authenticationProvider = authenticationProvider;
        }
Beispiel #26
0
        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;
        }
Beispiel #27
0
        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;
        }
Beispiel #28
0
        public HostsController(IHostManagementService hostManagementService,
                               IHostSearchManagementService hostSearchManagementService,
                               IPersonManagementService personManagementService,
                               IAuthenticationProvider authenticationProvider)
        {
            Check.Require(hostManagementService != null, "hostManagementService may not be null");

            this._hostManagementService  = hostManagementService;
            _hostSearchManagementService = hostSearchManagementService;
            _personManagementService     = personManagementService;
            _authenticationProvider      = authenticationProvider;
        }
Beispiel #29
0
        public RolesController(IRoleManagementService roleManagementService,
                               IPersonManagementService personManagementService,
                               IAuthenticationProvider authenticationProvider)
        {
            Check.Require(roleManagementService != null, "roleManagementService may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");
            Check.Require(authenticationProvider != null, "authenticationProvider may not be null");

            _roleManagementService = roleManagementService;
            _authenticationProvider = authenticationProvider;
            _personManagementService = personManagementService;
        }
 public CouncilController(ICouncilService councilService,
                          IStructureManageService structureManageService, ICartableService cartableService,
                          IBaseInfoComissionCouncilService baseInfoComissionCouncilService, IPersonManagementService personManagementService,
                          IAttachmentService attachmentService, ITextDefaultService textDefaultService)
 {
     _councilService                  = councilService;
     _structureManageService          = structureManageService;
     _cartableService                 = cartableService;
     _baseInfoComissionCouncilService = baseInfoComissionCouncilService;
     _personManagementService         = personManagementService;
     _attachmentService               = attachmentService;
     _textDefaultService              = textDefaultService;
 }
Beispiel #31
0
 public CommissionController(IUnitOfWork unitOfWork, ICommissionService comissionService,
                             IBaseInfoComissionCouncilService baseInfoComissionCouncilService,
                             IStructureManageService structureManageService, ICartableService cartableService,
                             IAttachmentService attachmentService, IPersonManagementService personManagementService)
 {
     _comissionService = comissionService;
     _baseInfoComissionCouncilService = baseInfoComissionCouncilService;
     _structureManageService          = structureManageService;
     _cartableService         = cartableService;
     _attachmentService       = attachmentService;
     _personManagementService = personManagementService;
     _unitOfWork = unitOfWork;
 }
        public ApplicationManagementService(IApplicationRepository applicationRepository,
                                            ISupportTeamManagementService supportTeamManagementService, IHostManagementService hostManagementService,
                                            IPersonManagementService personManagementService)
        {
            Check.Require(applicationRepository != null, "applicationRepository may not be null");
            Check.Require(supportTeamManagementService != null, "supportTeamManagementService may not be null");
            Check.Require(hostManagementService != null, "hostManagementService may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _applicationRepository = applicationRepository;
            _personManagementService = personManagementService;
            _hostManagementService = hostManagementService;
            _supportTeamManagementService = supportTeamManagementService;
        }
Beispiel #33
0
        public ApplicationManagementService(IApplicationRepository applicationRepository,
                                            ISupportTeamManagementService supportTeamManagementService, IHostManagementService hostManagementService,
                                            IPersonManagementService personManagementService)
        {
            Check.Require(applicationRepository != null, "applicationRepository may not be null");
            Check.Require(supportTeamManagementService != null, "supportTeamManagementService may not be null");
            Check.Require(hostManagementService != null, "hostManagementService may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _applicationRepository        = applicationRepository;
            _personManagementService      = personManagementService;
            _hostManagementService        = hostManagementService;
            _supportTeamManagementService = supportTeamManagementService;
        }
        public ApplicationsController(IApplicationManagementService applicationManagementService,
                                      IApplicationSearchManagementService applicationSearchManagementService,
                                      IPersonManagementService personManagementService,
                                      IAuthenticationProvider authenticationProvider)
        {
            Check.Require(applicationManagementService != null, "applicationManagementService may not be null");
            Check.Require(applicationSearchManagementService != null,
                          "applicationSearchManagementService may not be null");

            _applicationManagementService = applicationManagementService;
            _applicationSearchManagementService = applicationSearchManagementService;
            _personManagementService = personManagementService;
            _authenticationProvider = authenticationProvider;
        }
        public ApplicationsController(IApplicationManagementService applicationManagementService,
                                      IApplicationSearchManagementService applicationSearchManagementService,
                                      IPersonManagementService personManagementService,
                                      IAuthenticationProvider authenticationProvider)
        {
            Check.Require(applicationManagementService != null, "applicationManagementService may not be null");
            Check.Require(applicationSearchManagementService != null,
                          "applicationSearchManagementService may not be null");

            _applicationManagementService       = applicationManagementService;
            _applicationSearchManagementService = applicationSearchManagementService;
            _personManagementService            = personManagementService;
            _authenticationProvider             = authenticationProvider;
        }
        public TimeEntryManagementService(ITimeEntryRepository timeEntryRepository, IRequestRepository requestRepository,
                                          IWrmsSystemRepository wrmsSystemRepository,
                                          IPersonManagementService personManagementService)
        {
            Check.Require(timeEntryRepository != null, "timeEntryRepository may not be null");
            Check.Require(requestRepository != null, "requestRepository may not be null");
            Check.Require(wrmsSystemRepository != null, "wrmsSystemRepository may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _timeEntryRepository     = timeEntryRepository;
            _personManagementService = personManagementService;
            _requestRepository       = requestRepository;
            _wrmsSystemRepository    = wrmsSystemRepository;
            _personManagementService = personManagementService;
        }
        public TimeEntryManagementService(ITimeEntryRepository timeEntryRepository, IRequestRepository requestRepository,
                                          IWrmsSystemRepository wrmsSystemRepository,
                                          IPersonManagementService personManagementService)
        {
            Check.Require(timeEntryRepository != null, "timeEntryRepository may not be null");
            Check.Require(requestRepository != null, "requestRepository may not be null");
            Check.Require(wrmsSystemRepository != null, "wrmsSystemRepository may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _timeEntryRepository = timeEntryRepository;
            _personManagementService = personManagementService;
            _requestRepository = requestRepository;
            _wrmsSystemRepository = wrmsSystemRepository;
            _personManagementService = personManagementService;
        }
        public TimeEntriesController(ITimeEntryManagementService timeEntryManagementService,
                                     IRequestManagementService requestManagementService,
                                     IAuthenticationProvider authenticationProvider,
                                     IPersonManagementService personManagementService)
        {
            Check.Require(timeEntryManagementService != null, "timeEntryManagementService may not be null");
            Check.Require(requestManagementService != null, "requestManagementService may not be null");
            Check.Require(authenticationProvider != null, "authenticationProvider may not be null");
            Check.Require(personManagementService != null, "personManagementService may not be null");

            _timeEntryManagementService = timeEntryManagementService;
            _personManagementService    = personManagementService;
            _requestManagementService   = requestManagementService;
            _authenticationProvider     = authenticationProvider;
            _personManagementService    = personManagementService;
        }
        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;
        }
Beispiel #40
0
        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();

            _timeEntryManagementService =
                MockRepository.GenerateMock<ITimeEntryManagementService>();

            _requestManagementService = MockRepository.GenerateMock<IRequestManagementService>();
            _authenticationProvider = MockRepository.GenerateMock<IAuthenticationProvider>();
            _personManagementService = MockRepository.GenerateMock<IPersonManagementService>();

            _timeEntriesController =
                new TimeEntriesController(_timeEntryManagementService, _requestManagementService,
                                          _authenticationProvider, _personManagementService);

            var context = MockRepository.GenerateMock<ControllerContext>();
            context.Expect(x => x.HttpContext.User.Identity.Name).Return("testUser");
            _timeEntriesController.ControllerContext = context;
        }
 public ReportManagementService(IPersonManagementService personManagementService,
                                ISdeWorkOrderRepository sdeWorkOrderRepository)
 {
     _personManagementService = personManagementService;
     _sdeWorkOrderRepository = sdeWorkOrderRepository;
 }
        public void SetUp()
        {
            ServiceLocatorInitializer.Init();

            _applicationRepository =
                MockRepository.GenerateMock<IApplicationRepository>();
            _applicationRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());

            _hostManagementService =
                MockRepository.GenerateMock<IHostManagementService>();

            _supportTeamManagementService =
                MockRepository.GenerateMock<ISupportTeamManagementService>();

            _personManagementService =
                MockRepository.GenerateMock<IPersonManagementService>();

            _applicationManagementService =
                new ApplicationManagementService(_applicationRepository, _supportTeamManagementService, _hostManagementService,
                                                 _personManagementService);
        }
Beispiel #45
0
 public ReportsController(IReportManagementService reportService, IPersonManagementService personManagementService, IAuthenticationProvider authenticationProvider)
 {
     _reportManagmentService = reportService;
     _personManagementService = personManagementService;
     _authenticationProvider = authenticationProvider;
 }
 public PersonController(IPersonManagementService personManagementService, IRoleManagementService roleManagementService)
 {
     _personManagementService = personManagementService;
     _roleManagementService   = roleManagementService;
 }
Beispiel #47
0
 public ReportsController(IReportManagementService reportService, IPersonManagementService personManagementService, IAuthenticationProvider authenticationProvider)
 {
     _reportManagmentService  = reportService;
     _personManagementService = personManagementService;
     _authenticationProvider  = authenticationProvider;
 }
        public void SetUp()
        {
            ServiceLocatorInitializer.Init();

            _requestTypeManagementService =
                MockRepository.GenerateMock<IRequestTypeManagementService>();

            _personManagementService = MockRepository.GenerateMock<IPersonManagementService>();

            _authenticationProvider = MockRepository.GenerateMock<IAuthenticationProvider>();

            _requestTypesController =
                new RequestTypesController(_requestTypeManagementService, _personManagementService,
                                           _authenticationProvider);
        }
        public void SetUp()
        {
            ServiceLocatorInitializer.Init();

            supportTeamManagementService =
                MockRepository.GenerateMock<ISupportTeamManagementService>();

            supportTeamSearchManagementService =
                MockRepository.GenerateMock<ISupportTeamSearchManagementService>();
            _personManagementService = MockRepository.GenerateMock<IPersonManagementService>();
            _authenticationProvider = MockRepository.GenerateMock<IAuthenticationProvider>();
            supportTeamsController =
                new SupportTeamsController(supportTeamManagementService, supportTeamSearchManagementService,
                                           _personManagementService, _authenticationProvider);
        }
        public void SetUp()
        {
            ServiceLocatorInitializer.Init();

            supportTeamRepository =
                MockRepository.GenerateMock<ISupportTeamRepository>();
            supportTeamRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());

            _personManagementService = MockRepository.GenerateMock<IPersonManagementService>();

            supportTeamManagementService =
                new SupportTeamManagementService(supportTeamRepository, _personManagementService);
        }
Beispiel #51
0
 public HomeController(IPersonManagementService personService)
 {
     _personService = personService;
 }
        public void SetUp()
        {
            ServiceLocatorInitializer.Init();

            _timeEntryRepository =
                MockRepository.GenerateMock<ITimeEntryRepository>();
            _timeEntryRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());

            _wrmsSystemRepository =
                MockRepository.GenerateMock<IWrmsSystemRepository>();
            _wrmsSystemRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());

            _requestRepository =
                MockRepository.GenerateMock<IRequestRepository>();
            _requestRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());
            _personManagementService = MockRepository.GenerateMock<IPersonManagementService>();

            _timeEntryManagementService = new TimeEntryManagementService(_timeEntryRepository, _requestRepository,
                                                                         _wrmsSystemRepository, _personManagementService);
        }
        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);
        }
Beispiel #54
0
 public ReportManagementService(IPersonManagementService personManagementService,
                                ISdeWorkOrderRepository sdeWorkOrderRepository)
 {
     _personManagementService = personManagementService;
     _sdeWorkOrderRepository  = sdeWorkOrderRepository;
 }
 public WrmsSystemSearchManagementService(IWrmsSystemRepository wrmsSystemRepository,
                                          IPersonManagementService personManagementService)
 {
     _wrmsSystemRepository = wrmsSystemRepository;
     _personManagementService = personManagementService;
 }
        public void SetUp()
        {
            ServiceLocatorInitializer.Init();

            _wrmsSystemManagementService =
                MockRepository.GenerateMock<IWrmsSystemManagementService>();
            _wrmsSystemSearchManagementService =
                MockRepository.GenerateMock<IWrmsSystemSearchManagementService>();
            _personManagementService = MockRepository.GenerateMock<IPersonManagementService>();
            _authenticationProvider = MockRepository.GenerateMock<IAuthenticationProvider>();

            _wrmsSystemsController =
                new WrmsSystemsController(_wrmsSystemManagementService, _wrmsSystemSearchManagementService,
                                          _personManagementService, _authenticationProvider);
        }