public virtual List <Point> GetPoints(bool aic, bool aoc, bool dic, bool doc) { var points = new List <Point>(); if (aic) { points.AddRange(_pointRepository.GetAI()); } if (aoc) { points.AddRange(_pointRepository.GetAO()); } if (dic) { points.AddRange(_pointRepository.GetDI()); } if (doc) { points.AddRange(_pointRepository.GetDO()); } return(points); }