public MailingService(ISettings settings, ApplicationDbContext context, IHostingEnvironment hostingEnvironment, IWish wishManager) { _settings = settings; _appContext = context; string webRoot = hostingEnvironment.WebRootPath; _wishManager = wishManager; _pathVideoContentHtml = Path.Combine(webRoot, "mail", "videoContent.html"); _pathMailContentHtml = Path.Combine(webRoot, "mail", "mailContent.html"); _pathSerieContentHtml = Path.Combine(webRoot, "mail", "serieContent.html"); _pathWishMovieContentHtml = Path.Combine(webRoot, "mail", "wishMovieContent.html"); }
public HomeController() { _adapter = new WishAdapter(); }
public WishController() { _adapter = new WishAdapter(); }