C# Class Tenant.Mvc.Core.Contexts.DatabaseContext.CustomerContext

Exibir arquivo Open project: Microsoft/WingTipTickets

Public Methods

Method Description
CreateUser ( string firstName, string lastName, string email, string phonenumber, string password ) : bool
GetUsers ( ) : List
Login ( string email, string password ) : bool
UserExists ( string email ) : bool

Private Methods

Method Description
CreateUserOnDatabase ( string firstName, string lastName, string email, string phonenumber, string password, bool setSession, SqlConnection connection ) : bool

Method Details

CreateUser() public method

public CreateUser ( string firstName, string lastName, string email, string phonenumber, string password ) : bool
firstName string
lastName string
email string
phonenumber string
password string
return bool

GetUsers() public method

public GetUsers ( ) : List
return List

Login() public method

public Login ( string email, string password ) : bool
email string
password string
return bool

UserExists() public method

public UserExists ( string email ) : bool
email string
return bool