Search in database from editform

Georgiana 1 Reputation point
2021-07-16T14:04:23.69+00:00

Does anyone know how could I check if the email and password from EditForm exists in database? I'm using Blazor Server and SQL Server as database and I already have the models from database and the context. I know I should do a service class for user and then call it in the Login page, but I'm not sure how. Thanks!

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,580 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.