コード例 #1
0
 public UserSiteServiceInfo QueryUserSiteServiceByUserId(string userId)
 {
     using (var manager = new UserBalanceManager())
     {
         UserSiteServiceInfo info = new UserSiteServiceInfo();
         var entity = manager.QueryUserSiteServiceByUserId(userId, ServiceType.DrawingNotice);
         if (entity == null)
         {
             return(null);
         }
         ObjectConvert.ConverEntityToInfo(entity, ref info);
         return(info);
     }
 }