Example #1
0
 public static double SelectMember(string Vid)
 {
     if (!(string.IsNullOrEmpty(Vid)))
     {
         IncentiveBusiness v   = new IncentiveBusiness();
         PublishData       obj = new PublishData();
         obj = v.SelectMemberDetails(Vid);
         if (obj.CurrentBalance != 0.0)
         {
             return(obj.CurrentBalance);
         }
         else
         {
             return(0.00);
         }
     }
     else
     {
         return(0.00);
     }
 }