In this article I have a bug :) Because I had a model like:
public String ReportSuccessToAddress { get; set; }
then in controller I had:
xmlReportSuccessCcAddress.Descendants("Value").Single().Value = startReportModel[i].ReportSuccessCcAddress;
In case that ReportSuccessCcAddress is null this line will fail. To automatically change null to empty string, in your model add annotation like:
[DisplayFormat(ConvertEmptyStringToNull = false)]
public String ReportSuccessToAddress { get; set; }