Sebastiaan
var path = _webHostEnvironment.ContentRootPath + "\\wwwroot\\" + post;
private readonly IWebHostEnvironment _webHostEnvironment;