Beispiel #1
0
 protected FormControllerBase(
     IFormHandlerFactory formHandlerFactory,
     IAuthorizationService authorizationService)
 {
     _formHandlerFactory   = formHandlerFactory;
     _authorizationService = authorizationService;
 }
 public FormHandlerBus(IFormHandlerFactory factory)
 {
     if (factory == null)
     {
         throw new ArgumentNullException("factory");
     }
     this.factory = factory;
 }
 public ErrorController(
     IFormHandlerFactory formHandlerFactory,
     IAuthorizationService authorizationService)
     : base(
         formHandlerFactory,
         authorizationService)
 {
 }
Beispiel #4
0
 public AccountController(
     IFormHandlerFactory formHandlerFactory,
     IAuthenticationService <User> authenticationService,
     IAuthorizationService authorizationService)
     : base(
         formHandlerFactory,
         authorizationService)
 {
     _authenticationService = authenticationService;
 }
 public DepartmentController(
     IFormHandlerFactory formHandlerFactory,
     IAuthorizationService authorizationService,
     IDepartmentService departmentService,
     IMapper mapper)
     : base(
         formHandlerFactory,
         authorizationService)
 {
     _departmentService = departmentService;
     _mapper            = mapper;
 }
 public BuildingController(
     IFormHandlerFactory formHandlerFactory,
     IAuthorizationService authorizationService,
     IBuildingService buildingService,
     IMapper mapper)
     : base(
         formHandlerFactory,
         authorizationService)
 {
     _buildingService = buildingService;
     _mapper          = mapper;
 }
 public EntranceController(
     IFormHandlerFactory formHandlerFactory,
     IAuthorizationService authorizationService,
     IEntranceService entranceService,
     IMapper mapper, IBuildingService buildingService)
     : base(
         formHandlerFactory,
         authorizationService)
 {
     _entranceService = entranceService;
     _mapper          = mapper;
     _buildingService = buildingService;
 }
Beispiel #8
0
 public EmployeeController(
     IFormHandlerFactory formHandlerFactory,
     IMapper mapper,
     IEmployeeService employeeService,
     IAuthorizationService authorizationService,
     IDepartmentService departmentService)
     : base(
         formHandlerFactory,
         authorizationService)
 {
     _mapper            = mapper;
     _employeeService   = employeeService;
     _departmentService = departmentService;
 }
 public UserController(
     IFormHandlerFactory formHandlerFactory,
     IUserService userService,
     IMapper mapper,
     IAuthorizationService authorizationService,
     IEntranceService entranceService,
     IDepartmentService departmentService)
     : base(
         formHandlerFactory,
         authorizationService)
 {
     _userService       = userService;
     _mapper            = mapper;
     _entranceService   = entranceService;
     _departmentService = departmentService;
 }
 public IndicatorsController(
     IFormHandlerFactory formHandlerFactory,
     IAuthorizationService authorizationService,
     IRegistrationService registrationService,
     IUserProvider <User> userProvider,
     IUserService userService,
     IMapper mapper,
     ITimeService timeService,
     IEmployeeService employeeService)
     : base(
         formHandlerFactory,
         authorizationService)
 {
     _registrationService = registrationService;
     _userProvider        = userProvider;
     _userService         = userService;
     _mapper          = mapper;
     _timeService     = timeService;
     _employeeService = employeeService;
 }
 public RegistrationController(
     IFormHandlerFactory formHandlerFactory,
     IRegistrationService registrationService,
     IMapper mapper,
     IEmployeeService employeeService,
     IAuthorizationService authorizationService,
     ITimeService timeService,
     IRegistrationsViewModelService registrationsViewModelService,
     IRazorHtmlLayoutGenerator htmlLayoutGenerator,
     IPdfGenerator pdfGenerator,
     IExcelGenerator excelGenerator)
     : base(
         formHandlerFactory,
         authorizationService)
 {
     _registrationService = registrationService;
     _mapper          = mapper;
     _employeeService = employeeService;
     _timeService     = timeService;
     _registrationsViewModelService = registrationsViewModelService;
     _htmlLayoutGenerator           = htmlLayoutGenerator;
     _pdfGenerator   = pdfGenerator;
     _excelGenerator = excelGenerator;
 }
		public AccountController(IFormHandlerFactory formHandlerFactory)
			: base(formHandlerFactory)
		{
		}
Beispiel #13
0
 public AccountController(IFormHandlerFactory formHandlerFactory)
     : base(formHandlerFactory)
 {
 }
 public StaffController(IFormHandlerFactory formHandlerFactory, IQueryBuilder queryBuilder)
     : base(formHandlerFactory)
 {
     _queryBuilder = queryBuilder;
 }
 protected FormControllerBase(IFormHandlerFactory formHandlerFactory)
 {
     this._formHandlerFactory = formHandlerFactory;
 }
 public void SetFormHandlerFactory(IFormHandlerFactory factory)
 {
     this.factory = factory;
 }
 public StaffController(IFormHandlerFactory formHandlerFactory, IQueryBuilder queryBuilder)
     : base(formHandlerFactory)
 {
     _queryBuilder = queryBuilder;
 }