Beispiel #1
0
        public TaskPeopleObjectCollection GetAssigneesSupplierByTaskID(TaskObject task)
        {
            TaskPeopleObjectCollection taskPeoples;

            try
            {
                taskPeoples = new TaskPeopleDataService().GetAssigneesSupplierByTaskID(task.TaskID);
            }
            catch (System.Exception exception1)
            {
                System.Exception innerException = exception1;
                throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
            }
            return(taskPeoples);
        }
Beispiel #2
0
        public TaskPeopleObjectCollection GetByEmployee(EmployeeObject employee)
        {
            TaskPeopleObjectCollection taskPeoples;

            try
            {
                taskPeoples = new TaskPeopleDataService().GetByEmployee(employee);
            }
            catch (System.Exception exception1)
            {
                System.Exception innerException = exception1;
                throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
            }
            return(taskPeoples);
        }