1var emailAddressParam = new SqlParameter("@emailAddress", id.EmailAddress);
2var passwordParam = new SqlParameter("@passwordHash", id.PasswordHash);
3
4var users = context
5 .UserProfiles
6 .FromSqlRaw("exec sp_GetUsers @emailAddress, @passwordHash", emailAddressParam, passwordParam)
7 .ToList();
8