Hello everyone,
I have one method in Repository class i want to call that from my registration class
method is-->
public async Task Get(Expression> predicate)
{
return await _db.FindAsync(predicate);
}
how can i call that one. i'm trying like that
{
Repository repo = new Repository();
Registration Entity_Reg = new Registration();
string query = "select * from registration where fname=" + txtUame.Text + "and Password=" + txtPass.Text + "";
var result = repo.Get(query,____);
}
it is showing error.
please tell me how to call this method in proper way.
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Sonu ChaudharyPosted Jun 10, 2016, 12:26 PM