public EmployeeSearchController(IEmployeeSearchViewModelFactory employeeSearchViewModelFactory, ITaskService taskService)
 {
     _employeeSearchViewModelFactory = employeeSearchViewModelFactory;
     _taskService = taskService;
 }
Пример #2
0
 private EmployeeSearchController CreateEmployeeSearchControllerWithUserAndFactory(IEmployeeSearchViewModelFactory viewModelFactory)
 {
     var controller = new EmployeeSearchController(viewModelFactory, null);
     return TestControllerHelpers.AddUserWithDefinableAllowedSitesToController(controller, _allowedSites);
 }