public void
IfExist(string username)
{
var name =
dbcontext.userdetails.Any(s => s.username == username);
if (name
== true)
{
Console.WriteLine("Record
Exists");
}
else
{
Console.WriteLine("Record
Does Not Exists");
}
}