Exemplo n.º 1
0
 /// <summary>
 /// 建構式
 /// </summary>
 /// <param name="logger">logger</param>
 /// <param name="mapper">mapper</param>
 /// <param name="memberRepository">memberRepository</param>
 /// <param name="rideRepository">rideRepository</param>
 public MemberService(ILogger <MemberService> logger, IMapper mapper, IMemberRepository memberRepository, IRideRepository rideRepository, IInteractiveRepository interactiveRepository)
 {
     this.logger                = logger;
     this.mapper                = mapper;
     this.memberRepository      = memberRepository;
     this.rideRepository        = rideRepository;
     this.interactiveRepository = interactiveRepository;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 建構式
 /// </summary>
 /// <param name="logger">logger</param>
 /// <param name="interactiveRepository">interactiveRepository</param>
 /// <param name="memberRepository">memberRepository</param>
 public InteractiveService(ILogger <InteractiveService> logger, IMapper mapper, IInteractiveRepository interactiveRepository)
 {
     this.logger = logger;
     this.mapper = mapper;
     this.interactiveRepository = interactiveRepository;
 }