public PointController(IPointRepository pointRepository, IPointHistoryService pointHistoryService) { this.pointRepository = pointRepository ?? throw new ArgumentNullException(); this.pointHistoryService = pointHistoryService ?? throw new ArgumentNullException(); }
public PointHistoryController(IPointHistoryService pointHistoryService) { this.pointHistoryService = pointHistoryService ?? throw new ArgumentNullException("PointHistoryController"); }