public UnitOfWorkCommandHandlerDecorator( ICommandHandler <T> decorated, ILocationUnitOfWork unitOfWork, LocationContext locationContext) { _decorated = decorated; _unitOfWork = unitOfWork; _locationContext = locationContext; }
public UpdateParentOfLocationCommandHandler( ILocationUnitOfWork unitOfWork, IMapper mapper, ILocationRepository locationRepository) { this.LocationRepository = locationRepository; this.UnitOfWork = unitOfWork; this.Mapper = mapper; }