C# Class Blog.Services.Helpers.Rest.AddressRestResource

Inheritance: IAddressRestResource
Show file Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Address address, string authenticationToken ) : Address
Delete ( int addressId, string authenticationToken ) : bool
GetByUser ( int userId ) : Address
Update ( Address address, string authenticationToken ) : Address

Method Details

Add() public method

public Add ( Address address, string authenticationToken ) : Address
address Blog.Common.Contracts.Address
authenticationToken string
return Blog.Common.Contracts.Address

Delete() public method

public Delete ( int addressId, string authenticationToken ) : bool
addressId int
authenticationToken string
return bool

GetByUser() public method

public GetByUser ( int userId ) : Address
userId int
return Blog.Common.Contracts.Address

Update() public method

public Update ( Address address, string authenticationToken ) : Address
address Blog.Common.Contracts.Address
authenticationToken string
return Blog.Common.Contracts.Address