示例#1
0
 /// <summary>
 /// Contructor of OTRequestController class
 /// </summary>
 /// <param name="errorService"></param>
 public GroupController(IErrorService errorService, IGroupService groupService, IRequestService requestService, IExplanationRequestService explanationRequestService, ISystemService systemService, IRequestTypeService requestTypeService) : base(errorService)
 {
     _groupService              = groupService;
     _requestService            = requestService;
     _explanationRequestService = explanationRequestService;
     this._systemService        = systemService;
     this._requestTypeService   = requestTypeService;
 }
 public RequestService(
     IRepository <Request> repository,
     IRequestTypeService requestTypeService,
     IMapper mapper)
     : base(repository)
 {
     this.requestTypeService = requestTypeService;
     this.mapper             = mapper;
 }
示例#3
0
 /// <summary>
 /// constructor request controller
 /// </summary>
 /// <param name="errorService"> error service</param>
 /// <param name="requestService">request service</param>
 public RequestController(IErrorService errorService, IRequestService requestService, IStatusRequestService statusRequestService, ISystemService systemService, IGroupService groupService, IRequestTypeService requestTypeService, IConfigDelegationService configDelegationService)
     : base(errorService)
 {
     this._requestService          = requestService;
     this._statusRequestService    = statusRequestService;
     this._systemService           = systemService;
     this.__groupService           = groupService;
     this._requestTypeService      = requestTypeService;
     this._configDelegationService = configDelegationService;
 }
示例#4
0
 public RequestController(IRequestService requestService,
                          ICountryService countryService,
                          ICityService cityService,
                          ILoadService loadService,
                          IRequestTypeService requestTypeService,
                          IRequestStatusService requestStatusService,
                          ICompanyService companyService)
 {
     this.requestService       = requestService;
     this.countryService       = countryService;
     this.cityService          = cityService;
     this.loadService          = loadService;
     this.requestTypeService   = requestTypeService;
     this.requestStatusService = requestStatusService;
     this.companyService       = companyService;
 }
示例#5
0
 public RequestTypeController(IRequestTypeService <RequestType> RequestService)
 {
     _requestService = RequestService;
 }
示例#6
0
 public RequestTypeController(IRequestTypeService requestTypeService)
 {
     this.requestTypeService = requestTypeService;
 }
 public RequestTypesController(IRequestTypeService requestTypes)
 {
     this.requestTypes = requestTypes;
 }
示例#8
0
 public RequestTypeController(IRequestTypeService requestTypeService, HRMDBContext context)
 {
     _requestTypeService = requestTypeService;
     _context            = context;
 }
示例#9
0
 public NewVendorController(ApplicationDBContext context, IRequestTypeService requestTypeService, INewVendorServices newVendorServices)
 {
     _appContext        = context;
     _reqType           = requestTypeService;
     _newVendorServices = newVendorServices;
 }
 public RequestTypesController(IRequestTypeService requestTypeService)
 {
     _requestTypeService = requestTypeService;
     _requestTypeService.CheckArgumentIsNull(nameof(_requestTypeService));
 }
示例#11
0
 public RequestTypesController(IRequestTypeService service, IAutoMapper mapper)
 {
     _mapper  = mapper;
     _service = service;
 }
示例#12
0
 /// <summary>
 /// constructor request type controller
 /// </summary>
 /// <param name="errorService"> error service</param>
 /// <param name="requestTypeService"> request type service</param>
 public RequestTypeController(IErrorService errorService, IRequestTypeService requestTypeService)
     : base(errorService)
 {
     this._requestTypeService = requestTypeService;
 }