public RegistrationViewModel() { using (var db = DbHelpers.GetConnection()) { this.EditableItem = new RegistrationTable(); this.TodoItems = db.Query <RegistrationTable>("SELECT * FROM RegistrationTable ORDER BY AddDate DESC").ToList(); } }