public static List<Model> GetModels()
{
// Предполагается, что таблица называется models
return connection.Query<Model>("SELECT * FROM models").ToList();
}
public static List<Point> GetPoints()
{
// Предполагается, что таблица называется points
return connection.Query<Point>("SELECT * FROM points").ToList();
}