public List <LogMessage> getLogMessageByYear(DateTime time) { List <LogMessage> ls = new List <LogMessage>(); try { ls = DB.getLogByYear(time.Year); return(ls); } catch (NotFindException e) { return(null); } }
public List <LogMessage> getLogMessageByYear(DateTime time) { return(DB.getLogByYear(time.Year)); }