C# Class MyWalletz.Controllers.CategoriesController

Inheritance: ApplicationApiController
Datei anzeigen Open project: kazimanzurrashid/my-walletz-angular

Public Methods

Method Description
CategoriesController ( IDataContext dataContext, Func getUserId ) : System
Delete ( int id ) : HttpResponseMessage
Get ( ) : HttpResponseMessage
Get ( int id ) : HttpResponseMessage
Post ( CreateCategory model ) : HttpResponseMessage
Put ( UpdateCategory model ) : HttpResponseMessage

Method Details

CategoriesController() public method

public CategoriesController ( 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 ( CreateCategory model ) : HttpResponseMessage
model CreateCategory
return System.Net.Http.HttpResponseMessage

Put() public method

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