public static TaskAssociation GetTaskAssociation(LoginUser loginUser, int taskID) { TaskAssociations taskAssociations = new TaskAssociations(loginUser); taskAssociations.LoadByTaskID(taskID); if (taskAssociations.IsEmpty) { return(null); } else { return(taskAssociations[0]); } }
public TaskAssociation(DataRow row, TaskAssociations taskAssociations) : base(row, taskAssociations) { _taskAssociations = taskAssociations; }