C# Class WorldSurveyKit.Controllers.FileInstancesController

Inheritance: ApiController
Mostrar archivo Open project: ntheile/World-Survey-Kit

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

DeleteNewFileInstance() public method

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

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetNewFileInstance() public method

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

GetNewFileInstances() public method

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

PostNewFileInstance() public method

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
return System.Net.Http.HttpResponseMessage

PutNewFileInstance() public method

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