C# Class BgEngine.Controllers.ImageController

Inheritance: BaseController
显示文件 Open project: yagopv/BgEngine

Public Methods

Method Description
GetGalleriaJson ( int id ) : System.Web.Mvc.JsonResult
GetImageAutoCompleteSuggestions ( string term ) : System.Web.Mvc.JsonResult
ImageController ( IMediaServices mediaservices, IService imageservices, IService albumservices ) : System
ShowAllImages ( int page, string searchstring ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Create ( Image image ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ViewResult
Edit ( Image image ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( int id ) : System.Web.Mvc.ViewResult

Method Details

GetGalleriaJson() public method

public GetGalleriaJson ( int id ) : System.Web.Mvc.JsonResult
id int
return System.Web.Mvc.JsonResult

GetImageAutoCompleteSuggestions() public method

public GetImageAutoCompleteSuggestions ( string term ) : System.Web.Mvc.JsonResult
term string
return System.Web.Mvc.JsonResult

ImageController() public method

public ImageController ( IMediaServices mediaservices, IService imageservices, IService albumservices ) : System
mediaservices IMediaServices
imageservices IService
albumservices IService
return System

ShowAllImages() public method

public ShowAllImages ( int page, string searchstring ) : System.Web.Mvc.ActionResult
page int
searchstring string
return System.Web.Mvc.ActionResult