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

Inheritance: IUsersRestResource
Datei anzeigen Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( User user, string authenticationToken ) : User
Get ( int userId ) : User
GetByUserName ( string username ) : User
Update ( User user, string authenticationToken ) : User

Method Details

Add() public method

public Add ( User user, string authenticationToken ) : User
user Blog.Common.Contracts.User
authenticationToken string
return Blog.Common.Contracts.User

Get() public method

public Get ( int userId ) : User
userId int
return Blog.Common.Contracts.User

GetByUserName() public method

public GetByUserName ( string username ) : User
username string
return Blog.Common.Contracts.User

Update() public method

public Update ( User user, string authenticationToken ) : User
user Blog.Common.Contracts.User
authenticationToken string
return Blog.Common.Contracts.User