コード例 #1
0
 public LoginController(NEPService.ClientService.IClientService clientService, IEncryption encryptionService, IEMail mailService, NEPService.UserService.IUserService userService)
 {
     _clientService     = clientService;
     _encryptionService = encryptionService;
     _mailService       = mailService;
     _userService       = userService;
 }
コード例 #2
0
 public ClientController(NEPService.ClientService.IClientService clientService, IEncryption encryptionService, IEMail mailService, ICommonService commonService)
 {
     _commonService     = commonService;
     _clientService     = clientService;
     _storageService    = new StorageService();
     _encryptionService = encryptionService;
     _mailService       = mailService;
 }
コード例 #3
0
 /// <summary>
 /// Sends the email.
 /// </summary>
 /// <param name="mail">The e-mail.</param>
 public static void SendEmail(IEMail mail)
 {
     //todo send real e-mail
     Debug.WriteLine("Email wird versendet.");
     Debug.WriteLine(string.Format("Addresse:\t {0}",mail.EMailAddress));
     Debug.WriteLine(string.Format("Betreff:\t {0}", mail.Subject));
     Debug.WriteLine(string.Format("Inhalt:\n {0}", mail.Message));
 }
コード例 #4
0
 public ShoppingCartController(NEPService.ShoppingEducationService.IShoppingEducationService shoppingeducationService, NEPService.EducationService.IEducationService educationService, NEPService.DiscountCouponService.IDiscountCouponService discountCouponService, NEPService.UserService.IUserService userService, NEPService.ProductService.IProductService productService, IEMail mailService)
 {
     _shoppingeducationService = shoppingeducationService;
     _discountCouponService    = discountCouponService;
     _educationService         = educationService;
     _userService    = userService;
     _productService = productService;
     _mailService    = mailService;
 }
コード例 #5
0
 public UserController(NEPService.UserService.IUserService userService, IEncryption encryptionService, IEMail mailService, NEPService.LogSessionService.ILogSessionService logSessionService, NEPService.CommonService.ICommonService commonService, IClientService clientService)
 {
     _userService       = userService;
     _encryptionService = encryptionService;
     _mailService       = mailService;
     _logSessionService = logSessionService;
     _commonService     = commonService;
     _clientService     = clientService;
 }
コード例 #6
0
 public UserController(NEPService.UserService.IUserService userService, IEncryption encryptionService, IEMail mailService)
 {
     _userService       = userService;
     _encryptionService = encryptionService;
     _mailService       = mailService;
 }