C# 클래스 Investor.Common.Service.Client.Logic.ClientLogic

상속: IClientLogic
파일 보기 프로젝트 열기: johnhinz/Investor

공개 메소드들

메소드 설명
ClientLogic ( IClientRepository repository ) : Investor.Common.Shared.Interfaces
Create ( ClientPoco client ) : void
CreateAddress ( long id, ClientAddressPoco address ) : void
CreatePhoneNumber ( long id, ClientPhoneNumberPoco phonenumber ) : void
DeleteAddress ( long clientId, long addressId ) : void
DeleteClient ( long id ) : void
DeletePhoneNumber ( long clientId, long phonenumberId ) : void
Read ( long id ) : ClientDto
ReadAddresses ( long id ) : IEnumerable
ReadFirstName ( string firstname ) : IEnumerable
ReadLastName ( string lastname ) : IEnumerable
ReadOneAddress ( long clientId, long addressId ) : IEnumerable
ReadOnePhoneNumber ( long clientId, long phonenumerId ) : IEnumerable
ReadPhoneNumbers ( long id ) : IEnumerable
UpdateAddress ( long clientId, long addressId, ClientAddressPoco address ) : void
UpdateClient ( ClientPoco client ) : void
UpdatePhoneNumber ( long clientId, long PhoneNumberId, ClientPhoneNumberPoco phonenumber ) : void

메소드 상세

ClientLogic() 공개 메소드

public ClientLogic ( IClientRepository repository ) : Investor.Common.Shared.Interfaces
repository IClientRepository
리턴 Investor.Common.Shared.Interfaces

Create() 공개 메소드

public Create ( ClientPoco client ) : void
client Investor.Common.Shared.Pocos.ClientPoco
리턴 void

CreateAddress() 공개 메소드

public CreateAddress ( long id, ClientAddressPoco address ) : void
id long
address Investor.Common.Shared.Pocos.ClientAddressPoco
리턴 void

CreatePhoneNumber() 공개 메소드

public CreatePhoneNumber ( long id, ClientPhoneNumberPoco phonenumber ) : void
id long
phonenumber Investor.Common.Shared.Pocos.ClientPhoneNumberPoco
리턴 void

DeleteAddress() 공개 메소드

public DeleteAddress ( long clientId, long addressId ) : void
clientId long
addressId long
리턴 void

DeleteClient() 공개 메소드

public DeleteClient ( long id ) : void
id long
리턴 void

DeletePhoneNumber() 공개 메소드

public DeletePhoneNumber ( long clientId, long phonenumberId ) : void
clientId long
phonenumberId long
리턴 void

Read() 공개 메소드

public Read ( long id ) : ClientDto
id long
리턴 Investor.Common.Shared.DataTransferObjects.ClientDto

ReadAddresses() 공개 메소드

public ReadAddresses ( long id ) : IEnumerable
id long
리턴 IEnumerable

ReadFirstName() 공개 메소드

public ReadFirstName ( string firstname ) : IEnumerable
firstname string
리턴 IEnumerable

ReadLastName() 공개 메소드

public ReadLastName ( string lastname ) : IEnumerable
lastname string
리턴 IEnumerable

ReadOneAddress() 공개 메소드

public ReadOneAddress ( long clientId, long addressId ) : IEnumerable
clientId long
addressId long
리턴 IEnumerable

ReadOnePhoneNumber() 공개 메소드

public ReadOnePhoneNumber ( long clientId, long phonenumerId ) : IEnumerable
clientId long
phonenumerId long
리턴 IEnumerable

ReadPhoneNumbers() 공개 메소드

public ReadPhoneNumbers ( long id ) : IEnumerable
id long
리턴 IEnumerable

UpdateAddress() 공개 메소드

public UpdateAddress ( long clientId, long addressId, ClientAddressPoco address ) : void
clientId long
addressId long
address Investor.Common.Shared.Pocos.ClientAddressPoco
리턴 void

UpdateClient() 공개 메소드

public UpdateClient ( ClientPoco client ) : void
client Investor.Common.Shared.Pocos.ClientPoco
리턴 void

UpdatePhoneNumber() 공개 메소드

public UpdatePhoneNumber ( long clientId, long PhoneNumberId, ClientPhoneNumberPoco phonenumber ) : void
clientId long
PhoneNumberId long
phonenumber Investor.Common.Shared.Pocos.ClientPhoneNumberPoco
리턴 void