public List <LogMessage> getLogMessageByDay(DateTime time) { List <LogMessage> ls = new List <LogMessage>(); try { ls = DB.getLogByDay(time.Year, time.Month, time.Day); return(ls); } catch (NotFindException e) { return(null); } }