GetDataStartEndIndex() => (startIndex, endIndex, DbData) =>
 {
     return(DbData.Where(z => z > startIndex && z <= endIndex));
 };