Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Serialize HoursOfOperationModel
private string SerializeModelToRawValue(HoursOfOperationModel model)
{
var serializer = new XmlSerializer(typeof(HoursOfOperationModel));
var stringwriter = new StringWriter();
serializer.Serialize(stringwriter, model);
return stringwriter.ToString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.