private ReleasePlayerInstructionCreatedEvent Map(ReleasePlayerContract.Request request) { return(new() { EngagingClubId = request.EngagingClubId, ReleasingClubId = request.ReleasingClubId, PlayerId = request.PlayerId, PlayersContract = PlayerContractMapper.Map(request.PlayersContract) }); }
private EngageWithTransferAgreementInstructionCreatedEvent Map(EngageWithTransferAgreement.Request request) { return(new() { EngagingClubId = request.EngagingClubId, ReleasingClubId = request.ReleasingClubId, PlayerId = request.PlayerId, PlayersContract = PlayerContractMapper.Map(request.PlayersContract) }); }
private InstructionsMatchedEvent Map(ReleasePlayerContract.Request request, Guid engagingInstructionId, Guid releasingInstructionId) { return(new() { EngagingInstructionId = engagingInstructionId, ReleasingInstructionId = releasingInstructionId, EngagingClubId = request.EngagingClubId, ReleasingClubId = request.ReleasingClubId, PlayerId = request.PlayerId, PlayersContract = PlayerContractMapper.Map(request.PlayersContract) }); }
private InstructionsMatchedEvent Map(EngageWithTransferAgreement.Request request, Guid engagingInstructionId, Guid releasingInstructionId, bool matchingResult) { return(new() { EngagingInstructionId = engagingInstructionId, ReleasingInstructionId = releasingInstructionId, EngagingClubId = request.EngagingClubId, ReleasingClubId = request.ReleasingClubId, PlayerId = request.PlayerId, PlayersContract = PlayerContractMapper.Map(request.PlayersContract), PerfectMatch = matchingResult }); }