Just two quick questions
1.What is the below statement called?
Func<usersDto, bool> predicate
2.How is it different from below?
Expression<Func<usersDto, bool>>
3.How do i convert Func<type1,bool>
to Func<type2,bool>
. Seems like advanced stuff me
Example
GetUsers(Func<UserDto,bool> predicate)
{
return EfContext.Users.Where ( convert above predicate to be passed here)
.Cast<>();
}