public TableBuilder(IActionTypeService actionTypeService, ICurrencyService currencyService)
 {
     Columns           = new List <ITableColumn <TEntity> >();
     IsSearchEnabled   = true;
     RowsPerPage       = 25;
     ActionTypeService = actionTypeService;
     CurrencyService   = currencyService;
 }
Beispiel #2
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 ActionTypesController(IMapper mapper, IActionTypeService actionTypeService)
 {
     _mapper            = mapper;
     _actionTypeService = actionTypeService;
 }
 public ActionTypeController(IServiceFactory serviceFactory, IFilterServiceFactory filterServiceFactory)
     : base(filterServiceFactory)
 {
     _actionTypeService = serviceFactory.ActionTypeService;
 }
 public ActionTypeController(IActionTypeService actionTypeService)
 {
     _actionTypeService = actionTypeService;
 }
 public ActionTypeIconBuilder(IActionTypeService actionTypeService)
 {
     ActionTypeService = actionTypeService;
 }
 public Builder AddAction(string?title, string actionTypeName, IActionTypeService actionTypeService, bool hasBottomDivider = true)
 {
     return(AddText(title, actionTypeName, new ActionTypeIconBuilder(actionTypeService).Build(actionTypeName, 24), hasBottomDivider));
 }