public ParentGuideRecord(TimeSpan from, TimeSpan to, ParentGuideAge age, ParentGuideType type) { this.From = from; this.To = to; this.Age = age; this.Type = type; }
private string AgeToString(ParentGuideAge age) { switch (age) { case ParentGuideAge.Age_18: return("18"); default: return("12"); } }