C# Class MyWalletz.Controllers.AccountsController

Inheritance: ApplicationApiController
显示文件 Open project: kazimanzurrashid/my-walletz-backbone

Public Methods

Method Description
AccountsController ( IDataContext dataContext, Func getUserId ) : System
Delete ( int id ) : HttpResponseMessage
Get ( ) : HttpResponseMessage
Get ( int id ) : HttpResponseMessage
Post ( CreateAccount model ) : HttpResponseMessage
Put ( UpdateAccount model ) : HttpResponseMessage

Method Details

AccountsController() public method

public AccountsController ( IDataContext dataContext, Func getUserId ) : System
dataContext IDataContext
getUserId Func
return System

Delete() public method

public Delete ( int id ) : HttpResponseMessage
id int
return System.Net.Http.HttpResponseMessage

Get() public method

public Get ( ) : HttpResponseMessage
return System.Net.Http.HttpResponseMessage

Get() public method

public Get ( int id ) : HttpResponseMessage
id int
return System.Net.Http.HttpResponseMessage

Post() public method

public Post ( CreateAccount model ) : HttpResponseMessage
model CreateAccount
return System.Net.Http.HttpResponseMessage

Put() public method

public Put ( UpdateAccount model ) : HttpResponseMessage
model UpdateAccount
return System.Net.Http.HttpResponseMessage