Ejemplo n.º 1
0
 public CreateExpenseSubTypeHandler(IExpenseSubTypeService expenseSubTypeService, ICurrentUserService currentUserService, IDateTime dateTime, IMapper mapper)
 {
     _expenseSubTypeService = expenseSubTypeService ?? throw new ArgumentNullException(nameof(_expenseSubTypeService));
     _currentUserService    = currentUserService ?? throw new ArgumentNullException(nameof(_currentUserService));
     _dateTime = dateTime ?? throw new ArgumentNullException(nameof(_dateTime));
     _mapper   = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Ejemplo n.º 2
0
 public GetExpenseSubTypeByIdHandler(IExpenseSubTypeService expenseSubTypeService, IMapper mapper)
 {
     _expenseSubTypeService = expenseSubTypeService ?? throw new ArgumentNullException(nameof(_expenseSubTypeService));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(_mapper));
 }
Ejemplo n.º 3
0
 public DeleteExpenseSubTypeHandler(IExpenseSubTypeService expenseSubTypeService, ICurrentUserService currentUserService, IDateTime dateTime)
 {
     _expenseSubTypeService = expenseSubTypeService ?? throw new ArgumentNullException(nameof(_expenseSubTypeService));
     _currentUserService    = currentUserService ?? throw new ArgumentNullException(nameof(_currentUserService));
     _dateTime = dateTime ?? throw new ArgumentNullException(nameof(_dateTime));
 }