foreach (TaskTypeEnum tType in Enum.GetValues(typeof(TaskTypeEnum)))
{
if (!list.Any(w => w.X == tType))
{
list.Add(new
{
X = tType,
Y = 0
});
}
}