コード例 #1
0
 public async Task Consume(ConsumeContext <ApplicantAppliedEvent> context)
 {
     await _applicantRepository.AddApplicantSubmission(new ApplicantSubmission
     {
         JobId          = context.Message.JobId,
         ApplicantId    = context.Message.ApplicantId,
         Title          = context.Message.Title,
         SubmissionDate = context.Message.CreationDate
     });
 }