C# Class SwaggerWebAPI.Controllers.UsersController

Inheritance: ApiController
显示文件 Open project: anuragvaishy-galaxe/TechTalks

Public Methods

Method Description
Delete ( int id ) : void
Get ( ) : IEnumerable
Get ( int id ) : User
Post ( [ value ) : void
Put ( int id, [ value ) : void

Private Methods

Method Description
GetPosts ( int id ) : IEnumerable
GetUsers ( ) : IEnumerable

Method Details

Delete() public method

public Delete ( int id ) : void
id int
return void

Get() public method

public Get ( ) : IEnumerable
return IEnumerable

Get() public method

public Get ( int id ) : User
id int
return User

Post() public method

public Post ( [ value ) : void
value [
return void

Put() public method

public Put ( int id, [ value ) : void
id int
value [
return void