C# Class PizzaApi.Api.Controllers.OrderController

Inheritance: ApiController
Mostrar archivo Open project: tugberkugurlu/ProWebAPI.Samples Class Usage Examples

Public Methods

Method Description
Delete ( HttpRequestMessage request, int id ) : HttpResponseMessage
Get ( HttpRequestMessage request, int id ) : HttpResponseMessage
Get ( ) : IEnumerable
OrderController ( IOrderService orderService ) : System
Post ( HttpRequestMessage request, Order order ) : HttpResponseMessage
Put ( HttpRequestMessage request, Order order ) : HttpResponseMessage

Method Details

Delete() public method

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

Get() public method

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

Get() public method

public Get ( ) : IEnumerable
return IEnumerable

OrderController() public method

public OrderController ( IOrderService orderService ) : System
orderService IOrderService
return System

Post() public method

public Post ( HttpRequestMessage request, Order order ) : HttpResponseMessage
request System.Net.Http.HttpRequestMessage
order PizzaApi.Domain.Order
return System.Net.Http.HttpResponseMessage

Put() public method

public Put ( HttpRequestMessage request, Order order ) : HttpResponseMessage
request System.Net.Http.HttpRequestMessage
order PizzaApi.Domain.Order
return System.Net.Http.HttpResponseMessage