C# Class WorldSurveyKit.Controllers.FileInstancesController

Inheritance: ApiController
Afficher le fichier Open project: ntheile/World-Survey-Kit

Méthodes publiques

Méthode Description
DeleteNewFileInstance ( int id ) : HttpResponseMessage

Deletes the file instance that is passed in by id

GetNewFileInstance ( int id ) : NewFileInstance

Gets the FileInstance by ID

GetNewFileInstances ( ) : IEnumerable

GET's all file instances that belong to the user

PostNewFileInstance ( NewFileInstance newfileinstance ) : HttpResponseMessage

Creates a new file instance for the user, if the user has access to the file

PutNewFileInstance ( int id, Delta newfileinstance ) : HttpResponseMessage

Updates the file instance that is passed in by id

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

DeleteNewFileInstance() public méthode

Deletes the file instance that is passed in by id
public DeleteNewFileInstance ( int id ) : HttpResponseMessage
id int
Résultat System.Net.Http.HttpResponseMessage

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetNewFileInstance() public méthode

Gets the FileInstance by ID
public GetNewFileInstance ( int id ) : NewFileInstance
id int
Résultat WorldSurveyKit.Models.NewFileInstance

GetNewFileInstances() public méthode

GET's all file instances that belong to the user
public GetNewFileInstances ( ) : IEnumerable
Résultat IEnumerable

PostNewFileInstance() public méthode

Creates a new file instance for the user, if the user has access to the file
public PostNewFileInstance ( NewFileInstance newfileinstance ) : HttpResponseMessage
newfileinstance WorldSurveyKit.Models.NewFileInstance
Résultat System.Net.Http.HttpResponseMessage

PutNewFileInstance() public méthode

Updates the file instance that is passed in by id
public PutNewFileInstance ( int id, Delta newfileinstance ) : HttpResponseMessage
id int
newfileinstance Delta
Résultat System.Net.Http.HttpResponseMessage