public void Save(List<ApprovedDomain> domains)
{
string contents = JsonConvert.SerializeObject(domains, Formatting.Indented);
string path = PathMapper.MapPath(Path + this.FileName);
if (path == null)
{
return;
}
File.WriteAllText(path, contents, Encoding.UTF8);
}
}