Example #1
0
 public ServiceFactory(IAuthenticationService authenticationService,
                       IActionTypeService actionTypeService,
                       IBillService billService,
                       ICountryService countryService,
                       ICurrencyService currencyService,
                       IDocumentService documentService,
                       IEmployeeService employeeService,
                       IIssueLogService issueLogService,
                       IIssueService issueService,
                       ILocationService locationService,
                       IMalfunctionGroupService malfunctionGroupService,
                       IMalfunctionService malfunctionService,
                       IMalfunctionSubgroupService malfunctionSubgroupService,
                       IPostService postService,
                       IStateService stateService,
                       ISupplierService supplierService,
                       ITransitionService transitionService,
                       IUserService userService,
                       IVehicleService vehicleService,
                       IVehicleTypeService vehicleTypeService)
 {
     AuthenticationService      = authenticationService;
     ActionTypeService          = actionTypeService;
     BillService                = billService;
     CountryService             = countryService;
     CurrencyService            = currencyService;
     DocumentService            = documentService;
     EmployeeService            = employeeService;
     IssueLogService            = issueLogService;
     IssueService               = issueService;
     LocationService            = locationService;
     MalfunctionGroupService    = malfunctionGroupService;
     MalfunctionService         = malfunctionService;
     MalfunctionSubgroupService = malfunctionSubgroupService;
     PostService                = postService;
     StateService               = stateService;
     SupplierService            = supplierService;
     TransitionService          = transitionService;
     UserService                = userService;
     VehicleService             = vehicleService;
     VehicleTypeService         = vehicleTypeService;
 }
 public IssueLogController(IServiceFactory serviceFactory, IFilterServiceFactory filterServiceFactory)
     : base(filterServiceFactory)
 {
     _issueLogService = serviceFactory.IssueLogService;
 }