C# Class API_1.Controllers.FigureController

Inheritance: ApiController
Show file Open project: BarlowDu/WebAPI

Public Methods

Method Description
Delete ( string firstName ) : IEnumerable
GetAll ( ) : IEnumerable
GetByQueryString ( string firstName ) : Figure
PostByBody ( [ figure ) : IEnumerable
PostByUrl ( string firstName, string lastName ) : IEnumerable
PostByUrlModel ( Figure figure ) : IEnumerable

Private Methods

Method Description
GetByRoute ( string firstName ) : Figure
PostByRouteModel ( Figure figure ) : IEnumerable

Method Details

Delete() public method

public Delete ( string firstName ) : IEnumerable
firstName string
return IEnumerable

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetByQueryString() public method

public GetByQueryString ( string firstName ) : Figure
firstName string
return Model.Figure

PostByBody() public method

public PostByBody ( [ figure ) : IEnumerable
figure [
return IEnumerable

PostByUrl() public method

public PostByUrl ( string firstName, string lastName ) : IEnumerable
firstName string
lastName string
return IEnumerable

PostByUrlModel() public method

public PostByUrlModel ( Figure figure ) : IEnumerable
figure Model.Figure
return IEnumerable