C# Class QuizProjectMvc.Web.Areas.Api.Controllers.CategoriesController

Inheritance: BaseController
Exibir arquivo Open project: kidroca/project-quiz-mvc

Public Methods

Method Description
CategoriesController ( ICategoriesService categories ) : System.IO
GetAll ( ) : IHttpActionResult

Private Methods

Method Description
AddNew ( AdvancedCategoryModel model ) : IHttpActionResult
Delete ( int id ) : IHttpActionResult
DeleteImage ( string name ) : IHttpActionResult
Edit ( AdvancedCategoryModel model ) : IHttpActionResult
GetAvailableImages ( ) : IHttpActionResult
GetByPattern ( string pattern ) : IHttpActionResult
GetCategories ( ) : IHttpActionResult
UploadImage ( ) : IHttpActionResult

Method Details

CategoriesController() public method

public CategoriesController ( ICategoriesService categories ) : System.IO
categories ICategoriesService
return System.IO

GetAll() public method

public GetAll ( ) : IHttpActionResult
return IHttpActionResult