Ejemplo n.º 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public ExchangeController(IExchangeService exchangeService, IMemberService memberService, IMailingAddressService mailingAddressService, IPostageService postageService)
 {
     _exchangeService       = exchangeService;
     _memberService         = memberService;
     _mailingAddressService = mailingAddressService;
     _postageService        = postageService;
 }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
 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();
 }
Ejemplo n.º 4
0
 public AddressController(IMailingAddressService mailingAddressService)
 {
     _mailingAddressService = mailingAddressService;
 }
Ejemplo n.º 5
0
 public AddressController()
 {
     _mailingAddressService = new MailingAddressService();
 }