C# 클래스 DummyBackend.managers.CustomerManager

상속: CustomerContract
파일 보기 프로젝트 열기: asadiq91/Contract

공개 메소드들

메소드 설명
CancelCustomerReservation ( Reservation reservation ) : bool
CreateCustomer ( Customer customer ) : bool
CreateCustomerReservation ( Trip trip, Customer customer, double totalPrice, int numberOfPeople, Vehicle vehicle ) : Reservation
CustomerManager ( ) : System
GetAllCustomerReservations ( Customer customer ) : List
GetAllTrips ( ) : List
GetCustomerByLogin ( string username, string password ) : Customer

메소드 상세

CancelCustomerReservation() 공개 메소드

public CancelCustomerReservation ( Reservation reservation ) : bool
reservation Reservation
리턴 bool

CreateCustomer() 공개 메소드

public CreateCustomer ( Customer customer ) : bool
customer Contract.dto.Customer
리턴 bool

CreateCustomerReservation() 공개 메소드

public CreateCustomerReservation ( Trip trip, Customer customer, double totalPrice, int numberOfPeople, Vehicle vehicle ) : Reservation
trip Contract.dto.Trip
customer Contract.dto.Customer
totalPrice double
numberOfPeople int
vehicle Vehicle
리턴 Reservation

CustomerManager() 공개 메소드

public CustomerManager ( ) : System
리턴 System

GetAllCustomerReservations() 공개 메소드

public GetAllCustomerReservations ( Customer customer ) : List
customer Contract.dto.Customer
리턴 List

GetAllTrips() 공개 메소드

public GetAllTrips ( ) : List
리턴 List

GetCustomerByLogin() 공개 메소드

public GetCustomerByLogin ( string username, string password ) : Customer
username string
password string
리턴 Contract.dto.Customer