Created
August 20, 2015 17:57
-
-
Save JRondeau16/7242b71a434b48d712f1 to your computer and use it in GitHub Desktop.
Serialize HoursOfOperationModel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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