public TimeSpan GetSeniority() { if (IsActive) { return(DateTime.Now.Subtract(DateOfEmployment)); } else { return(DateOfDismissal.Subtract(DateOfEmployment)); } }