public Term GetCurrentTerm() { DateTime today = DateTime.Today; return(_termRepository.SingleOrDefault(t => t.IsCurrentTerm)); //return _termRepository // .SingleOrDefault(t => today >= t.StartDate && today <= t.EndDate || t.IsCurrentTerm); }