So I take it the view for my email gets added everytime but it already exists.I just don't know how to check if it exists or how to readd it.
Code:
var viewsPath = Path.GetFullPath(HostingEnvironment.MapPath(@"~/Views/Emails")); var engines = new ViewEngineCollection();
Leave a comment: