C# Class Emergy.Api.Controllers.ResourcesApiController

Inheritance: MasterApiController
Show file Open project: gboduljak/Emergy

Public Methods

Method Description
ResourcesApiController ( IRepository resourcesRepository ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Get ( [ id ) : Task
SaveFile ( System.Web.HttpPostedFileBase file ) : Task
SaveFile ( UploadResourceModel file ) : Task
SaveToDatabase ( Resource resource ) : Task
SaveToDisk ( System.Web.HttpPostedFileBase file ) : string
Upload ( IEnumerable model ) : IHttpActionResult
Upload ( UploadMultipleResourcesViewModel model ) : IHttpActionResult
Upload ( UploadResourceModel file ) : Task
Upload ( ValidatedHttpPostedFileBase file ) : Task

Method Details

Dispose() protected method

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

ResourcesApiController() public method

public ResourcesApiController ( IRepository resourcesRepository ) : System
resourcesRepository IRepository
return System