private void ParseXMLFields(ref LetterFieldsDto fields) { if (!string.IsNullOrEmpty(fields.Subcategory)) { fields.Subcategory = SplitDetails(_xmlService.GetSubcategory(fields.Subcategory)); } if (!string.IsNullOrEmpty(fields.Category)) { fields.Category = SplitDetails(_xmlService.GetCategory(fields.Category)); } if (!string.IsNullOrEmpty(fields.Subclass)) { fields.Subclass = SplitDetails(_xmlService.GetSubclass(fields.Subclass)); } if (!string.IsNullOrEmpty(fields.Class)) { fields.Class = SplitDetails(_xmlService.GetClass(fields.Class)); } }