Consulta Linq para verificar se existe o registro
if (dc.Users.Any(u => u.Name == name))
{
// Do something here
}
Code with bulbul
if (dc.Users.Any(u => u.Name == name))
{
// Do something here
}