Search in database from editform

Georgiana 1 Reputation point

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!

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