Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfoster76 committed Sep 13, 2018
1 parent 80c58af commit a1de4b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ await UpdateCommitment(commitment, haveBothPartiesApproved, message.UserId, mess
if (commitment.HasTransferSenderAssigned)
{
await _cohortApprovalService.CreateTransferRequest(commitment, _messagePublisher);

//var transferRequestId = await _commitmentRepository.StartTransferRequestApproval(commitment.Id,
// _cohortApprovalService.CurrentCostOfCohort(commitment),
// _cohortApprovalService.TrainingCourseSummaries(commitment));

//await _cohortApprovalService.PublishCommitmentRequiresApprovalByTransferSenderEventMessage(
// _messagePublisher, commitment, transferRequestId);

//commitment.TransferApprovalStatus = TransferApprovalStatus.Pending;
}

await PublishApprovedMessage(commitment);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ internal class CohortApprovalService
private readonly IApprenticeshipInfoService _apprenticeshipInfoService;
private readonly ICommitmentsLogger _logger;

public CohortApprovalService(IApprenticeshipRepository apprenticeshipRepository,
internal CohortApprovalService(IApprenticeshipRepository apprenticeshipRepository,
IApprenticeshipOverlapRules overlapRules,
ICurrentDateTime currentDateTime,
ICommitmentRepository commitmentRepository,
Expand Down

0 comments on commit a1de4b0

Please sign in to comment.