C# Class HBS.WebApi.Controllers.CustomerInsuranceController

Inheritance: ApiController
Mostra file Open project: heartbeatservice/HeartbeatServiceSolution

Public Methods

Method Description
CustomerInsuranceController ( ICustomerRepository repo ) : System
GetCustomerInsurance ( int customerInsuranceId ) : List
GetCustomerInsurance ( int customerId, int customerInsuranceId ) : List
PostAddCustomerInsurance ( [ customerInsurance ) : bool
PutUpdateCustomerInsurance ( [ customerInsurance ) : bool

Private Methods

Method Description
DeleteCustomerInsurance ( int customerInsuranceId ) : bool
Options ( ) : HttpResponseMessage

Method Details

CustomerInsuranceController() public method

public CustomerInsuranceController ( ICustomerRepository repo ) : System
repo ICustomerRepository
return System

GetCustomerInsurance() public method

public GetCustomerInsurance ( int customerInsuranceId ) : List
customerInsuranceId int
return List

GetCustomerInsurance() public method

public GetCustomerInsurance ( int customerId, int customerInsuranceId ) : List
customerId int
customerInsuranceId int
return List

PostAddCustomerInsurance() public method

public PostAddCustomerInsurance ( [ customerInsurance ) : bool
customerInsurance [
return bool

PutUpdateCustomerInsurance() public method

public PutUpdateCustomerInsurance ( [ customerInsurance ) : bool
customerInsurance [
return bool