C# Class UserRegistration.UsersController

Inheritance: ApiController
Show file Open project: jannunzi/dev

Public Methods

Method Description
DeleteUser ( int id ) : string
GetAllUser ( ) : List
GetUser ( int id ) : UserTO
GetUserByUsername ( string username ) : List
PostUser ( UserTO newUser ) : string
PutUser ( int id, UserTO oldUser ) : string

Method Details

DeleteUser() public method

public DeleteUser ( int id ) : string
id int
return string

GetAllUser() public method

public GetAllUser ( ) : List
return List

GetUser() public method

public GetUser ( int id ) : UserTO
id int
return UserRegistration.Models.UserTO

GetUserByUsername() public method

public GetUserByUsername ( string username ) : List
username string
return List

PostUser() public method

public PostUser ( UserTO newUser ) : string
newUser UserRegistration.Models.UserTO
return string

PutUser() public method

public PutUser ( int id, UserTO oldUser ) : string
id int
oldUser UserRegistration.Models.UserTO
return string