/// <summary> /// 构造函数 /// </summary> public ExchangeController(IExchangeService exchangeService, IMemberService memberService, IMailingAddressService mailingAddressService, IPostageService postageService) { _exchangeService = exchangeService; _memberService = memberService; _mailingAddressService = mailingAddressService; _postageService = postageService; }
public UserController() { this._userService = new UserService(); this._mailingService = new MailingAddressService(); this._paymentService = new PaymentService(); this._userSubmissionService = new UserSubmissionService(); this._logisticService = new LogisticSheduleService(); this._transaction = new TransactionHistoryService(); }
public AdminUserController() { ViewBag.CurrentNode = "AdminMember"; this._userService = new UserService(); this._mainScholarshipService = new MainScholarshipService(); this._youthScholarshipService = new YouthScholarshipService(); this._experienceService = new ExperienceService(); this._educationService = new EducationService(); this._trainingService = new TrainingService(); this._leadershipService = new LeaderShipService(); this._publicationService = new PublicationService(); this._userSubmissionService = new UserSubmissionService(); this._mailingAddressService = new MailingAddressService(); this._paymentService = new PaymentService(); this._logisticService = new LogisticSheduleService(); }
public AddressController(IMailingAddressService mailingAddressService) { _mailingAddressService = mailingAddressService; }
public AddressController() { _mailingAddressService = new MailingAddressService(); }