C# Class Agribusiness.Web.Controllers.FileController

Controller for the File class
Inheritance: ApplicationController
Mostrar archivo Open project: ucdavis/Agribusiness

Public Methods

Method Description
Download ( int id ) : System.Web.Mvc.FileResult
Edit ( int id ) : System.Web.Mvc.ActionResult
FileController ( IRepositoryFactory repositoryFactory, IPersonService personService ) : System

Private Methods

Method Description
Create ( int seminarId ) : System.Web.Mvc.ActionResult
Create ( int seminarId, Agribusiness.Core.Domain.File file, System.Web.HttpPostedFileBase uploadedFile ) : System.Web.Mvc.ActionResult
DownloadAdmin ( int id ) : System.Web.Mvc.FileResult
Edit ( int id, Agribusiness.Core.Domain.File file, System.Web.HttpPostedFileBase uploadedFile ) : System.Web.Mvc.ActionResult

Method Details

Download() public method

public Download ( int id ) : System.Web.Mvc.FileResult
id int
return System.Web.Mvc.FileResult

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

FileController() public method

public FileController ( IRepositoryFactory repositoryFactory, IPersonService personService ) : System
repositoryFactory IRepositoryFactory
personService IPersonService
return System