C# Class DeveloperMediaDemo.Controllers.NoteController

Inheritance: ApiController
Afficher le fichier Open project: JohannesHoppe/DeveloperMediaDemo

Méthodes publiques

Méthode Description
Delete ( int id ) : void

CRUD: Delete one

Get ( string secho, int iDisplayStart, int iDisplayLength ) : DateTableResponse

CRUD: Read All

Get ( int id ) : Note

CRUD: Read One

GetAll ( ) : IEnumerable
NoteController ( ) : System.Collections.Generic
NoteController ( INoteRepository repository ) : System.Collections.Generic
Post ( ) : HttpResponseMessage

CRUD: Create New

Post ( ) : int
Put ( Note note ) : HttpResponseMessage

CRUD: Modify existing

Put ( Note note ) : void

Private Methods

Méthode Description
GetSearch ( int year ) : IEnumerable
GetSearch ( string titlePart ) : IEnumerable
GetSearch ( string titlePart ) : IHttpActionResult
GetSearch ( string titlePart ) : Note
GetSearchFor42 ( string what ) : int

Method Details

Delete() public méthode

CRUD: Delete one
public Delete ( int id ) : void
id int
Résultat void

Get() public méthode

CRUD: Read All
public Get ( string secho, int iDisplayStart, int iDisplayLength ) : DateTableResponse
secho string
iDisplayStart int
iDisplayLength int
Résultat DeveloperMediaDemo.Models.DateTableResponse

Get() public méthode

CRUD: Read One
public Get ( int id ) : Note
id int
Résultat DeveloperMediaDemo.Models.Note

GetAll() public méthode

public GetAll ( ) : IEnumerable
Résultat IEnumerable

NoteController() public méthode

public NoteController ( ) : System.Collections.Generic
Résultat System.Collections.Generic

NoteController() public méthode

public NoteController ( INoteRepository repository ) : System.Collections.Generic
repository INoteRepository
Résultat System.Collections.Generic

Post() public méthode

CRUD: Create New
public Post ( ) : HttpResponseMessage
Résultat HttpResponseMessage

Post() public méthode

public Post ( ) : int
Résultat int

Put() public méthode

CRUD: Modify existing
public Put ( Note note ) : HttpResponseMessage
note DeveloperMediaDemo.Models.Note
Résultat HttpResponseMessage

Put() public méthode

public Put ( Note note ) : void
note DeveloperMediaDemo.Models.Note
Résultat void