Method | Description | |
---|---|---|
AddressService ( IRepository addressRepository ) : System | ||
DeleteAddress ( |
Deletes an address
|
|
GetAddressById ( int addressId ) : |
||
InsertAddress ( |
Inserts an address
|
|
IsAddressValid ( |
Gets a value indicating whether address is valid (can be saved)
|
|
UpdateAddress ( |
Updates the address
|
public AddressService ( IRepository addressRepository ) : System | ||
addressRepository | IRepository | |
return | System |
public DeleteAddress ( |
||
address | Address | |
return | void |
public GetAddressById ( int addressId ) : |
||
addressId | int | |
return |
public InsertAddress ( |
||
address | Address | |
return | void |
public IsAddressValid ( |
||
address | Address to validate | |
return | bool |
public UpdateAddress ( |
||
address | Address | |
return | void |