C# Class HBS.WebApi.Controllers.CustomerController

Inheritance: ApiController
Afficher le fichier Open project: heartbeatservice/HeartbeatServiceSolution

Méthodes publiques

Méthode Description
CustomerController ( ICustomerRepository repo ) : System
DeleteCustomer ( int customerId, int userId ) : bool
GetCustomer ( int customerId ) : Customer
GetCustomers ( int companyId ) : IList
GetCustomers ( int companyId, System.DateTime dob ) : IList
GetCustomers ( int companyId, string customerName ) : IList
GetCustomers ( int companyId, string customerName, System.DateTime dob ) : IList
GetCustomers ( List customer, int PageNumber, int PageSize ) : PagedList
GetCustomers ( int companyId, System.DateTime dob, int pageNumber, int pageSize ) : PagedList
GetCustomers ( int companyId, int pageNumber, int pageSize ) : PagedList
GetCustomers ( int companyId, string customerName, System.DateTime dob, int pageNumber, int pageSize ) : PagedList
GetCustomers ( int companyId, string customerName, int pageNumber, int pageSize ) : PagedList
PostCustomer ( [ customer ) : int

Private Methods

Méthode Description
Options ( ) : HttpResponseMessage
PutCustomerUpdate ( string id, [ customer ) : bool

Method Details

CustomerController() public méthode

public CustomerController ( ICustomerRepository repo ) : System
repo ICustomerRepository
Résultat System

DeleteCustomer() public méthode

public DeleteCustomer ( int customerId, int userId ) : bool
customerId int
userId int
Résultat bool

GetCustomer() public méthode

public GetCustomer ( int customerId ) : Customer
customerId int
Résultat HBS.Entities.Customer

GetCustomers() public méthode

public GetCustomers ( int companyId ) : IList
companyId int
Résultat IList

GetCustomers() public méthode

public GetCustomers ( int companyId, System.DateTime dob ) : IList
companyId int
dob System.DateTime
Résultat IList

GetCustomers() public méthode

public GetCustomers ( int companyId, string customerName ) : IList
companyId int
customerName string
Résultat IList

GetCustomers() public méthode

public GetCustomers ( int companyId, string customerName, System.DateTime dob ) : IList
companyId int
customerName string
dob System.DateTime
Résultat IList

GetCustomers() public méthode

public GetCustomers ( List customer, int PageNumber, int PageSize ) : PagedList
customer List
PageNumber int
PageSize int
Résultat HBS.WebApi.Models.PagedList

GetCustomers() public méthode

public GetCustomers ( int companyId, System.DateTime dob, int pageNumber, int pageSize ) : PagedList
companyId int
dob System.DateTime
pageNumber int
pageSize int
Résultat HBS.WebApi.Models.PagedList

GetCustomers() public méthode

public GetCustomers ( int companyId, int pageNumber, int pageSize ) : PagedList
companyId int
pageNumber int
pageSize int
Résultat HBS.WebApi.Models.PagedList

GetCustomers() public méthode

public GetCustomers ( int companyId, string customerName, System.DateTime dob, int pageNumber, int pageSize ) : PagedList
companyId int
customerName string
dob System.DateTime
pageNumber int
pageSize int
Résultat HBS.WebApi.Models.PagedList

GetCustomers() public méthode

public GetCustomers ( int companyId, string customerName, int pageNumber, int pageSize ) : PagedList
companyId int
customerName string
pageNumber int
pageSize int
Résultat HBS.WebApi.Models.PagedList

PostCustomer() public méthode

public PostCustomer ( [ customer ) : int
customer [
Résultat int