Ejemplo n.º 1
0
 public ActionsService(IActionsResposit actionsService, IStaffResposit staffResposit, IJobresposit jobresposit, IJobactionResposit jobactionResposit)
 {
     _baseRepository    = actionsService;
     _actionsService    = actionsService ?? throw new ArgumentNullException(nameof(actionsService));
     _staffResposit     = staffResposit ?? throw new ArgumentNullException(nameof(staffResposit));
     _jobresposit       = jobresposit ?? throw new ArgumentNullException(nameof(jobresposit));
     _jobactionResposit = jobactionResposit ?? throw new ArgumentNullException(nameof(jobactionResposit));
 }
Ejemplo n.º 2
0
 public OilMaterialOrderService(
     IOilMaterialOrderResposit oilMaterialOrderService,
     IOilMaterialOrderDetailResposit oilMaterialOrderDetailResposit,
     IStaffResposit staffResposit,
     IProcessStepRecordResposit processStepRecordResposit
     )
 {
     _oilMaterialOrderResposit       = oilMaterialOrderService ?? throw new ArgumentNullException(nameof(oilMaterialOrderService));
     _oilMaterialOrderDetailResposit = oilMaterialOrderDetailResposit ?? throw new ArgumentNullException(nameof(oilMaterialOrderDetailResposit));
     _staffResposit             = staffResposit ?? throw new ArgumentNullException(nameof(staffResposit));
     _processStepRecordResposit = processStepRecordResposit ?? throw new ArgumentNullException(nameof(processStepRecordResposit));
 }
Ejemplo n.º 3
0
 public StaffService(IStaffResposit staffResposit,
                     IJobresposit jobresposit,
                     IRoleResposit roleResposit,
                     IEntrysResposit entrysResposit,
                     IProcessStepRecordResposit processStepRecordResposit,
                     ILeaveOfficeResposit leaveOfficeResposit)
 {
     _staffResposit             = staffResposit ?? throw new ArgumentNullException(nameof(staffResposit));
     _jobresposit               = jobresposit ?? throw new ArgumentNullException(nameof(jobresposit));
     _roleResposit              = roleResposit ?? throw new ArgumentNullException(nameof(roleResposit));
     _entrysResposit            = entrysResposit ?? throw new ArgumentNullException(nameof(entrysResposit));
     _processStepRecordResposit = processStepRecordResposit ?? throw new ArgumentNullException(nameof(processStepRecordResposit));
     _leaveOfficeResposit       = leaveOfficeResposit ?? throw new ArgumentNullException(nameof(leaveOfficeResposit));
 }