public List <TaskN> GetTasks(int projectId) { TaskN task = new TaskN(); try { var q = from item in objContext.Tasks where item.ProjectId == projectId select item; return(q.ToList()); } catch (Exception ex) { throw new ProjectManagerException("Error finding Task" + ex); } }
public bool AddTask(TaskN obj) { return(true); }