C# 클래스 HBS.WebApi.Controllers.CustomerController

상속: ApiController
파일 보기 프로젝트 열기: heartbeatservice/HeartbeatServiceSolution

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Options ( ) : HttpResponseMessage
PutCustomerUpdate ( string id, [ customer ) : bool

메소드 상세

CustomerController() 공개 메소드

public CustomerController ( ICustomerRepository repo ) : System
repo ICustomerRepository
리턴 System

DeleteCustomer() 공개 메소드

public DeleteCustomer ( int customerId, int userId ) : bool
customerId int
userId int
리턴 bool

GetCustomer() 공개 메소드

public GetCustomer ( int customerId ) : Customer
customerId int
리턴 HBS.Entities.Customer

GetCustomers() 공개 메소드

public GetCustomers ( int companyId ) : IList
companyId int
리턴 IList

GetCustomers() 공개 메소드

public GetCustomers ( int companyId, System.DateTime dob ) : IList
companyId int
dob System.DateTime
리턴 IList

GetCustomers() 공개 메소드

public GetCustomers ( int companyId, string customerName ) : IList
companyId int
customerName string
리턴 IList

GetCustomers() 공개 메소드

public GetCustomers ( int companyId, string customerName, System.DateTime dob ) : IList
companyId int
customerName string
dob System.DateTime
리턴 IList

GetCustomers() 공개 메소드

public GetCustomers ( List customer, int PageNumber, int PageSize ) : PagedList
customer List
PageNumber int
PageSize int
리턴 HBS.WebApi.Models.PagedList

GetCustomers() 공개 메소드

public GetCustomers ( int companyId, System.DateTime dob, int pageNumber, int pageSize ) : PagedList
companyId int
dob System.DateTime
pageNumber int
pageSize int
리턴 HBS.WebApi.Models.PagedList

GetCustomers() 공개 메소드

public GetCustomers ( int companyId, int pageNumber, int pageSize ) : PagedList
companyId int
pageNumber int
pageSize int
리턴 HBS.WebApi.Models.PagedList

GetCustomers() 공개 메소드

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
리턴 HBS.WebApi.Models.PagedList

GetCustomers() 공개 메소드

public GetCustomers ( int companyId, string customerName, int pageNumber, int pageSize ) : PagedList
companyId int
customerName string
pageNumber int
pageSize int
리턴 HBS.WebApi.Models.PagedList

PostCustomer() 공개 메소드

public PostCustomer ( [ customer ) : int
customer [
리턴 int