public static double? TotalMinutes(this TimeSpan? timeSpan) { return timeSpan.Select(x => x.TotalMinutes); }