/// <summary> /// Initializes a new instance of the <see cref="ClientService"/> class. /// </summary> /// <param name="adviserRepository">The adviser repository.</param> /// <param name="uow">The uow.</param> /// <exception cref="ArgumentNullException"> /// </exception> public ClientService(IAdviserRepository adviserRepository, IAdviserService adviserService, IUnitOfWork uow) : base(adviserRepository, uow) { _adviserRepository = adviserRepository ?? throw new ArgumentNullException(); _adviserService = adviserService ?? throw new ArgumentNullException(); _uow = uow ?? throw new ArgumentNullException(); }
public UserController(IUserService _IUserService, IRechargePlanService _IRechargePlanService, IPayOrderService _IPayOrderService, IPinTuService _IPinTuService, IPinTuanService _IPinTuanService, IUserActivityService _IUserActivityService, IKanJiaService _IKanJiaService, IAdviserService _IAdviserService, IMiaoShaService _IMiaoShaService) { this.IUserService = _IUserService; this.IRechargePlanService = _IRechargePlanService; this.IPayOrderService = _IPayOrderService; this.IUserActivityService = _IUserActivityService; this.IPinTuanService = _IPinTuanService; this.IPinTuService = _IPinTuService; this.IKanJiaService = _IKanJiaService; this.IAdviserService = _IAdviserService; this.IMiaoShaService = _IMiaoShaService; }
public AdviserController(IAdviserService _IAdviserService) { this.IAdviserService = _IAdviserService; }
/// <summary> /// Initializes a new instance of the <see cref="AdviserController"/> class. /// </summary> /// <param name="adviserService">The adviser service.</param> /// <exception cref="ArgumentNullException"></exception> public AdviserController(IAdviserService adviserService) { _adviserService = adviserService ?? throw new ArgumentNullException(); }