Ejemplo n.º 1
0
 public object GetPointsExpiryDataResult(string GroupId, int month, int year)
 {
     if (User.Identity.IsAuthenticated)
     {
         string         connectionString = CR.GetCustomerConnString(GroupId);
         PointExpiryTmp objPointExpiry   = new PointExpiryTmp();
         objPointExpiry = RR.GetPointExpiryData(GroupId, month, year, connectionString);
         return(new { Data = objPointExpiry, MaxJsonLength = Int32.MaxValue });
     }
     return("Invalid Token or Expired");
 }