DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
how to check if data already exists in database in c# mvc
private bool UserExists(string id) { return _context.Users.Any(e => e.UserId == id); }
PREVIOUS
NEXT
Tagged:
#check
#data
#exists
#database
#mvc
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit