public User GetById(Guid id) { using (var connection = context.CreateConnection()) { return(connection.Query <User>(UserQuery.ById(id)).SingleOrDefault()); } }