Method | Description | |
---|---|---|
CustomerService ( IDbContext context, IRepository |
||
GetAllCustomerRoles ( bool showHidden = false ) : IList |
||
GetAllCustomers ( int customerRoleIds = null ) : IList |
||
GetAllCustomers ( int customerId = null, string firstName = null, string lastName = null, string customerEmail = null, string zipCode = null, int pageIndex, int pageSize = int.MaxValue, int customerRoleIds = null ) : PagedList.IPagedList |
||
GetCustomerByEmail ( string email ) : |
Get customer by email
|
|
GetCustomerByGuid ( System.Guid customerGuid ) : |
Gets a customer by GUID
|
|
GetCustomerById ( int customerId ) : |
||
GetCustomerBySystemName ( string systemName ) : |
Get customer by system name
|
|
GetCustomerRoleBySystemName ( string systemName ) : |
Gets a customer role
|
|
InsertContactUs ( |
||
InsertCustomer ( |
Insert a customer
|
|
InsertGuestCustomer ( ) : |
Insert a guest customer
|
|
RegisterCustomer ( |
Register customer
|
|
UpdateCustomer ( |
Updates the customer
|
|
ValidateCustomer ( string usernameOrEmail, string password ) : CustomerLoginResults |
public CustomerService ( IDbContext context, IRepository |
||
context | IDbContext | |
customerRepository | IRepository |
|
customerRoleRepository | IRepository |
|
contactUsRepository | IRepository |
|
return | System |
public GetAllCustomerRoles ( bool showHidden = false ) : IList |
||
showHidden | bool | |
return | IList |
public GetAllCustomers ( int customerRoleIds = null ) : IList |
||
customerRoleIds | int | |
return | IList |
public GetAllCustomers ( int customerId = null, string firstName = null, string lastName = null, string customerEmail = null, string zipCode = null, int pageIndex, int pageSize = int.MaxValue, int customerRoleIds = null ) : PagedList.IPagedList |
||
customerId | int | |
firstName | string | |
lastName | string | |
customerEmail | string | |
zipCode | string | |
pageIndex | int | |
pageSize | int | |
customerRoleIds | int | |
return | PagedList.IPagedList |
public GetCustomerByEmail ( string email ) : |
||
string | ||
return |
public GetCustomerByGuid ( System.Guid customerGuid ) : |
||
customerGuid | System.Guid | Customer GUID |
return |
public GetCustomerById ( int customerId ) : |
||
customerId | int | |
return |
public GetCustomerBySystemName ( string systemName ) : |
||
systemName | string | System name |
return |
public GetCustomerRoleBySystemName ( string systemName ) : |
||
systemName | string | Customer role system name |
return |
public InsertContactUs ( |
||
contactUs | ||
return | void |
public InsertCustomer ( |
||
customer | Customer | |
return | void |
public InsertGuestCustomer ( ) : |
||
return |
public RegisterCustomer ( |
||
request | Request | |
return |
public UpdateCustomer ( |
||
customer | Customer | |
return | void |
public ValidateCustomer ( string usernameOrEmail, string password ) : CustomerLoginResults | ||
usernameOrEmail | string | |
password | string | |
return | CustomerLoginResults |