public static bool isUniqAllId(List <FreelanceTask> list) { BaseId bi = new BaseId(); foreach (var item in list) { if (!bi.IsId(item.Id, false)) { return(false); } } return(true); }
public static List <FreelanceTask> getUniqElements(List <FreelanceTask> old_list) { List <FreelanceTask> list = new List <FreelanceTask>(); BaseId bi = new BaseId(); foreach (var item in old_list) { if (bi.IsId(item.Id)) { list.Add(item); } } return(list); }