namespace GServer.Server.Business.Services;
public interface IAuthService
{
///
/// Checks whether a given email and password combination match.
///
///
///
///
bool IsPasswordCorrect(string email, string password);
}
public class AuthService : IAuthService
{
public bool IsPasswordCorrect(string username, string password)
{
// TODO: Check DB
return username == "aaronyarbz" && password == "password123";
}
}