public object GetCelebrationsTxnResult(string GroupId, int month, int type) { if (User.Identity.IsAuthenticated) { string connectionString = CR.GetCustomerConnString(GroupId); List <CelebrationsMoreDetails> objCelebrationsMoreDetails = new List <CelebrationsMoreDetails>(); objCelebrationsMoreDetails = RR.GetCelebrationsTxnData(GroupId, month, type, connectionString); return(new { Data = objCelebrationsMoreDetails, MaxJsonLength = Int32.MaxValue }); } return("Invalid Token or Expired"); }