コード例 #1
0
ファイル: GroupController.cs プロジェクト: hanuoc/tenatms
 /// <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;
 }
コード例 #2
0
 public RequestService(
     IRepository <Request> repository,
     IRequestTypeService requestTypeService,
     IMapper mapper)
     : base(repository)
 {
     this.requestTypeService = requestTypeService;
     this.mapper             = mapper;
 }
コード例 #3
0
ファイル: RequestController.cs プロジェクト: hanuoc/tenatms
 /// <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;
 }
コード例 #7
0
 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;
 }
コード例 #10
0
 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;
 }