Permalink
Browse files

Merge branch 'master' of github.com:markrendle/Simple.Data

  • Loading branch information...
2 parents b5e7a92 + dddcec7 commit 9ffd32a0501edfb2b2cf2e4c08444ac6aae766ec @markrendle committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -28,7 +28,7 @@ why not just write
public User FindUserByEmail(string email)
{
- return Database.Open().Users.FindByEmail(email);
+ return Database.Open().Users.FindAllByEmail(email).FirstOrDefault();
}
and take the rest of the morning off?

0 comments on commit 9ffd32a

Please sign in to comment.