23 lines
609 B
C#
23 lines
609 B
C#
using Dolphin.ExamPictureCut.Exams.Dto;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.EventBus.Distributed;
|
|
|
|
namespace Dolphin.ExamPictureCut.Exams;
|
|
|
|
/// <summary>
|
|
/// 考试收集
|
|
/// </summary>
|
|
public class ExamGatherEventHandler : IDistributedEventHandler<ExamStudentGatherEto>, ITransientDependency
|
|
{
|
|
private readonly IExamManager _examManager;
|
|
public ExamGatherEventHandler(IExamManager examManager)
|
|
{
|
|
_examManager = examManager;
|
|
}
|
|
|
|
public async Task HandleEventAsync(ExamStudentGatherEto eventData)
|
|
{
|
|
await _examManager.ExamStudentGather(eventData);
|
|
}
|
|
}
|