public InviteCodeEntity GetInviteCodeById(int id)
 {
     try
     {
         return(_invitecodeRepository.GetById(id));;
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
Exemple #2
0
 public EventEntity GetEventById(int id)
 {
     try
     {
         return(_eventRepository.GetById(id));
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }