Beispiel #1
0
        public EventStudentService(
            ILogger <IEventStudentService> logger,
            MediatR.IMediator mediator,
            IEventStudentRepository eventStudentRepository,
            IApiEventStudentServerRequestModelValidator eventStudentModelValidator,
            IDALEventStudentMapper dalEventStudentMapper)
            : base()
        {
            this.EventStudentRepository     = eventStudentRepository;
            this.EventStudentModelValidator = eventStudentModelValidator;
            this.DalEventStudentMapper      = dalEventStudentMapper;
            this.logger = logger;

            this.mediator = mediator;
        }
Beispiel #2
0
        public StudentService(
            ILogger <IStudentService> logger,
            MediatR.IMediator mediator,
            IStudentRepository studentRepository,
            IApiStudentServerRequestModelValidator studentModelValidator,
            IDALStudentMapper dalStudentMapper,
            IDALEventStudentMapper dalEventStudentMapper)
            : base()
        {
            this.StudentRepository     = studentRepository;
            this.StudentModelValidator = studentModelValidator;
            this.DalStudentMapper      = dalStudentMapper;
            this.DalEventStudentMapper = dalEventStudentMapper;
            this.logger = logger;

            this.mediator = mediator;
        }