public GetAllAttendantsQueryHandler(IPanasDbContext context, IMapper mapper) { this.context = context ?? throw new ArgumentNullException(nameof(context)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));; }
public CreateAttendantCommandHandler(IPanasDbContext context) { Context = context ?? throw new ArgumentNullException(nameof(context)); }