Method | Description | |
---|---|---|
AddComment ( string productCode, string email, string comment ) : string | ||
CreateCustomer ( string name, string email, string password, bool isAdmin, int question, string answer ) : bool | ||
CustomCustomerLogin ( string email, string password ) : string | ||
GetCatalogData ( ) : |
||
GetComments ( string productCode ) : |
||
GetCustomerDetails ( string customerNumber ) : |
||
GetCustomerEmail ( string customerNumber ) : string | ||
GetCustomerEmails ( string email ) : |
||
GetEmailByCustomerNumber ( string num ) : string | ||
GetEmailByName ( string name ) : |
||
GetMessages ( string customerLogin ) : |
||
GetOffice ( string city ) : |
||
GetOrderDetails ( int orderNumber ) : |
||
GetOrders ( int customerID ) : |
||
GetPasswordByEmail ( string email ) : string | ||
GetPayments ( int customerNumber ) : |
||
GetProductDetails ( string productCode ) : |
||
GetProductsAndCategories ( ) : |
||
GetProductsAndCategories ( int catNumber ) : |
||
GetSecurityQuestionAndAnswer ( string email ) : string[] | ||
GetUsers ( ) : |
||
IsAdminCustomerLogin ( string email ) : bool | ||
IsValidCustomerLogin ( string email, string password ) : bool | ||
RecreateGoatDb ( ) : bool | ||
SqliteDbProvider ( ConfigFile configFile ) : System | ||
TestConnection ( ) : bool | ||
UpdateCustomerPassword ( int customerNumber, string password ) : string |
public AddComment ( string productCode, string email, string comment ) : string | ||
productCode | string | |
string | ||
comment | string | |
return | string |
public CreateCustomer ( string name, string email, string password, bool isAdmin, int question, string answer ) : bool | ||
name | string | |
string | ||
password | string | |
isAdmin | bool | |
question | int | |
answer | string | |
return | bool |
public CustomCustomerLogin ( string email, string password ) : string | ||
string | ||
password | string | |
return | string |
public GetComments ( string productCode ) : |
||
productCode | string | |
return |
public GetCustomerDetails ( string customerNumber ) : |
||
customerNumber | string | |
return |
public GetCustomerEmail ( string customerNumber ) : string | ||
customerNumber | string | |
return | string |
public GetCustomerEmails ( string email ) : |
||
string | ||
return |
public GetEmailByCustomerNumber ( string num ) : string | ||
num | string | |
return | string |
public GetEmailByName ( string name ) : |
||
name | string | |
return |
public GetMessages ( string customerLogin ) : |
||
customerLogin | string | |
return |
public GetOffice ( string city ) : |
||
city | string | |
return |
public GetOrderDetails ( int orderNumber ) : |
||
orderNumber | int | |
return |
public GetOrders ( int customerID ) : |
||
customerID | int | |
return |
public GetPasswordByEmail ( string email ) : string | ||
string | ||
return | string |
public GetPayments ( int customerNumber ) : |
||
customerNumber | int | |
return |
public GetProductDetails ( string productCode ) : |
||
productCode | string | |
return |
public GetProductsAndCategories ( ) : |
||
return |
public GetProductsAndCategories ( int catNumber ) : |
||
catNumber | int | |
return |
public GetSecurityQuestionAndAnswer ( string email ) : string[] | ||
string | ||
return | string[] |
public IsAdminCustomerLogin ( string email ) : bool | ||
string | ||
return | bool |
public IsValidCustomerLogin ( string email, string password ) : bool | ||
string | ||
password | string | |
return | bool |
public SqliteDbProvider ( ConfigFile configFile ) : System | ||
configFile | ConfigFile | |
return | System |
public UpdateCustomerPassword ( int customerNumber, string password ) : string | ||
customerNumber | int | |
password | string | |
return | string |