public override object BallotInfoForJs(vBallotInfo b)
 {
   return new
   {
     Id = b.C_RowId,
     Code = b.C_BallotCode,
     b.StatusCode,
     StatusCodeText = BallotStatusEnum.TextFor(b.StatusCode),
     b.SpoiledCount
   };
 }
 public override object BallotInfoForJs(vBallotInfo b)
 {
   return new
            {
              Id = b.C_RowId,
              Code = b.C_BallotCode,
              Status = BallotStatusEnum.TextFor(b.StatusCode),
              Location = b.LocationName,
              LocationSort = b.LocationSortOrder,
              b.LocationId,
              TallyStatus = ElectionTallyStatusEnum.TextFor(b.TallyStatus)
            };
 }
 public abstract object BallotInfoForJs(vBallotInfo b);