C# Class BB.UI.Web.MVC.Controllers.OrganisationsController

Inheritance: Controller
显示文件 Open project: BeatBuddy/beatbuddy_webapp Class Usage Examples

Public Methods

Method Description
AddCoOrganiser ( long organisation, string mail ) : System.Web.Mvc.ActionResult
AddPlaylist ( long playlistId, string id ) : System.Web.Mvc.ActionResult
Details ( long id, int page ) : System.Web.Mvc.ActionResult
FollowOrganisation ( long organisationId, string email ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
IsNameAvailable ( string name ) : System.Web.Mvc.ActionResult
LeaveOrganisation ( long organisationId, string email ) : System.Web.Mvc.ActionResult
OrganisationsController ( IOrganisationManager organisationManager, IUserManager userManager, IPlaylistManager playlistManager ) : System.Collections.Generic
SearchPlaylist ( string q ) : System.Web.Mvc.JsonResult
UnFollowOrganisation ( long organisationId, string email ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
Create ( OrganisationViewModel organisation, System.Web.HttpPostedFileBase bannerImage ) : System.Web.Mvc.ActionResult
Delete ( long id ) : System.Web.Mvc.ActionResult

Method Details

AddCoOrganiser() public method

public AddCoOrganiser ( long organisation, string mail ) : System.Web.Mvc.ActionResult
organisation long
mail string
return System.Web.Mvc.ActionResult

AddPlaylist() public method

public AddPlaylist ( long playlistId, string id ) : System.Web.Mvc.ActionResult
playlistId long
id string
return System.Web.Mvc.ActionResult

Details() public method

public Details ( long id, int page ) : System.Web.Mvc.ActionResult
id long
page int
return System.Web.Mvc.ActionResult

FollowOrganisation() public method

public FollowOrganisation ( long organisationId, string email ) : System.Web.Mvc.ActionResult
organisationId long
email string
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

IsNameAvailable() public method

public IsNameAvailable ( string name ) : System.Web.Mvc.ActionResult
name string
return System.Web.Mvc.ActionResult

LeaveOrganisation() public method

public LeaveOrganisation ( long organisationId, string email ) : System.Web.Mvc.ActionResult
organisationId long
email string
return System.Web.Mvc.ActionResult

OrganisationsController() public method

public OrganisationsController ( IOrganisationManager organisationManager, IUserManager userManager, IPlaylistManager playlistManager ) : System.Collections.Generic
organisationManager IOrganisationManager
userManager IUserManager
playlistManager IPlaylistManager
return System.Collections.Generic

SearchPlaylist() public method

public SearchPlaylist ( string q ) : System.Web.Mvc.JsonResult
q string
return System.Web.Mvc.JsonResult

UnFollowOrganisation() public method

public UnFollowOrganisation ( long organisationId, string email ) : System.Web.Mvc.ActionResult
organisationId long
email string
return System.Web.Mvc.ActionResult