public string GetAllTasks(string custid) { ArrayList taskdata = new ArrayList(); TaskCommentRepository objTaskCmtRepo = new TaskCommentRepository(); TaskRepository taskrepo = new TaskRepository(); taskdata = taskrepo.getAllTasksOfUser(Guid.Parse(custid)); return(new JavaScriptSerializer().Serialize(taskdata)); }
public string GetAllTeamTask(string userid, string groupid) { TaskRepository taskrepo = new TaskRepository(); ArrayList TaskData = new ArrayList(); TaskData = taskrepo.getAllTasksOfUser(Guid.Parse(userid), Guid.Parse(groupid)); List <Domain.Socioboard.Domain.Tasks> taskdata = new List <Domain.Socioboard.Domain.Tasks>(); foreach (Domain.Socioboard.Domain.Tasks item in TaskData) { taskdata.Add(item); } return(new JavaScriptSerializer().Serialize(TaskData)); }
public string GetAllTasks(string custid) { ArrayList taskdata = new ArrayList(); TaskCommentRepository objTaskCmtRepo = new TaskCommentRepository(); TaskRepository taskrepo = new TaskRepository(); taskdata = taskrepo.getAllTasksOfUser(Guid.Parse(custid)); return new JavaScriptSerializer().Serialize(taskdata); }
public string GetAllTeamTask(string userid, string groupid) { TaskRepository taskrepo = new TaskRepository(); ArrayList TaskData = new ArrayList(); TaskData = taskrepo.getAllTasksOfUser(Guid.Parse(userid), Guid.Parse(groupid)); List<Domain.Socioboard.Domain.Tasks> taskdata = new List<Domain.Socioboard.Domain.Tasks>(); foreach (Domain.Socioboard.Domain.Tasks item in TaskData) { taskdata.Add(item); } return new JavaScriptSerializer().Serialize(TaskData); }