public OlympicEvent Map() { var olympicEvent = new OlympicEvent(); olympicEvent.Id = EventId; olympicEvent.EventName = EventName.AsProperNoun(); olympicEvent.EventTypeId = EventTypeId; olympicEvent.Description = Description?.Trim() ?? string.Empty; olympicEvent.Specification = Specification?.Trim() ?? string.Empty; olympicEvent.DateAdded = EventId == 0 ? DateTime.Now : DateAdded; olympicEvent.IsActive = IsActive; return(olympicEvent); }