public static string GetIssueDetails(string helpdeskid, string projectid, string hdnreportedbyEmpid) { // instantiate a serializer JavaScriptSerializer TheSerializer = new JavaScriptSerializer(); CommonMethodsDAL Commondal = new CommonMethodsDAL(); ArrayList list = new ArrayList(); list.Add(helpdeskid); list.Add(projectid); list.Add(hdnreportedbyEmpid); ArrayList list1 = new ArrayList(); foreach (string value in list) { list1.Add(Commondal.Encrypt(Convert.ToString(value), true)); } var TheJson = TheSerializer.Serialize(list1); return(TheJson); }
public static string GetUpdateCurrentAllocation(string helpdeskid, string projectid, string projectrole, string workhours, string fromdate, string enddate, string hdnreportedbyEmpid) { // instantiate a serializer JavaScriptSerializer TheSerializer = new JavaScriptSerializer(); CommonMethodsDAL Commondal = new CommonMethodsDAL(); ArrayList list = new ArrayList(); list.Add(helpdeskid); list.Add(projectid); list.Add(projectrole); list.Add(workhours); list.Add(fromdate); list.Add(enddate); list.Add(hdnreportedbyEmpid); ArrayList list1 = new ArrayList(); foreach (string value in list) { list1.Add(Commondal.Encrypt(Convert.ToString(value), true)); } var TheJson = TheSerializer.Serialize(list1); return(TheJson); }