Save JSON when HTTP POST (edit)
var uploadsProjectsFolder = Path.Combine(_hostingEnvironment.WebRootPath, @"Uploads\Projects\");
if (!Directory.Exists(uploadsProjectsFolder)) Directory.CreateDirectory(uploadsProjectsFolder);
System.IO.File.WriteAllText($"{Path.Combine(uploadsProjectsFolder, projectId.ToSafeString())}.txt", Newtonsoft.Json.JsonConvert.SerializeObject(model));