Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 public bool AddTask(TaskN obj)
 {
     return(true);
 }