public ActiveUp.Net.Mail.DeltaExt.MailUser GetById(decimal id)
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         return(dao.GetById(id));
     }
 }
 public MailUser GetUserByUserId(decimal userId)
 {
     using (IMailAccountDao dao = getDaoContext().DaoImpl.MailAccountDao)
     {
         return(dao.GetById(userId));
     }
 }