public List <BOTask> GetAllTechnologyTasksForEmployee(int technologyID, int employeeID) { try { List <CompanyManagementDataLayer.Task> tasks = dataLayer.GetAllTechnologyTasksForEmployee(technologyID, employeeID); List <BOTask> businessTechnologyTasksForEmployee = BusinessLayerHelper.ConvertTaskListToBOTaskList(tasks); return(businessTechnologyTasksForEmployee); } catch (Exception ex) { throw ex; } }
public List <BOTask> GetAllDelayedTasksForEmployee(int employeeID) { try { int delayedStatus = Convert.ToInt32(CMEnum.Status.Delayed); List <CompanyManagementDataLayer.Task> tasks = dataLayer.GetAllDelayedTasksForEmployee(employeeID, delayedStatus); List <BOTask> businessDelayedTaskForemployee = BusinessLayerHelper.ConvertTaskListToBOTaskList(tasks); return(businessDelayedTaskForemployee); } catch (Exception ex) { throw ex; } }
public List <BOTask> GetAllActiveTasksForProject(int projectID) { try { int status = Convert.ToInt32(CMEnum.Status.Active); List <CompanyManagementDataLayer.Task> tasks = dataLayer.GetAllTasksForProject(projectID, status); List <BOTask> businessTaskForProjects = BusinessLayerHelper.ConvertTaskListToBOTaskList(tasks); return(businessTaskForProjects); } catch (Exception ex) { throw ex; } }