C# Class mobSocial.WebApi.Controllers.VideoBattleController

Inheritance: mobSocial.WebApi.Configuration.Mvc.RootApiController
Mostra file Open project: mobsoftware/mobsocial

Public Methods

Method Description
VideoBattleController ( IVideoBattleService videoBattleService, IVideoBattleParticipantService videoBattleParticipantService, IVideoBattleVideoService videoBattleVideoService, IVideoBattleVoteService videoBattleVoteService, IVideoBattlePrizeService videoBattlePrizeService, IUserService userService, IWatchedVideoService watchedVideoService, IMediaService pictureService, ISponsorService sponsorService, ITimelineAutoPublisher timelineAutoPublisher, ISettingService settingService, IPaymentProcessingService paymentProcessingService, IFollowService followService, ICreditService creditService, IFormatterService formatterService, IEmailSender emailSender, IMobSocialVideoProcessor videoProcessor, MediaSettings mediaSettings, PaymentSettings paymentSettings, BattleSettings battleSettings, GeneralSettings generalSettings ) : System

Private Methods

Method Description
CanDelete ( VideoBattle videoBattle ) : bool
CanEdit ( VideoBattle videoBattle ) : bool
CanInvite ( VideoBattle videoBattle ) : bool
DeletePrize ( int videoBattleId, int prizeId ) : IHttpActionResult
DeleteVideoBattle ( int videoBattleId ) : IHttpActionResult
Edit ( int videoBattleId ) : IHttpActionResult
Get ( int id, VideoViewMode viewMode = VideoViewMode.Regular ) : IHttpActionResult
GetBattles ( [ requestModel ) : IHttpActionResult
GetPrizeDetails ( int videoBattleId ) : IHttpActionResult
InviteParticipants ( InviteParticipantsModel requestModel ) : IHttpActionResult
InviteVoters ( InviteVotersModel requestModel ) : IHttpActionResult
JoinBattle ( int videoBattleId ) : IHttpActionResult
MarkVideoWatched ( int videoBattleId, int participantId, int videoBattleVideoId ) : IHttpActionResult
SavePrize ( VideoBattlePrizeModel model ) : IHttpActionResult
SaveVideoBattle ( VideoBattleModel model ) : IHttpActionResult
SetPictureAsCover ( int battleId, int pictureId ) : IHttpActionResult
UpdateParticipantStatus ( UpdateParticipantStatusModel model ) : IHttpActionResult
VoteBattle ( int videoBattleId, int participantId, int voteValue ) : IHttpActionResult

Method Details

VideoBattleController() public method

public VideoBattleController ( IVideoBattleService videoBattleService, IVideoBattleParticipantService videoBattleParticipantService, IVideoBattleVideoService videoBattleVideoService, IVideoBattleVoteService videoBattleVoteService, IVideoBattlePrizeService videoBattlePrizeService, IUserService userService, IWatchedVideoService watchedVideoService, IMediaService pictureService, ISponsorService sponsorService, ITimelineAutoPublisher timelineAutoPublisher, ISettingService settingService, IPaymentProcessingService paymentProcessingService, IFollowService followService, ICreditService creditService, IFormatterService formatterService, IEmailSender emailSender, IMobSocialVideoProcessor videoProcessor, MediaSettings mediaSettings, PaymentSettings paymentSettings, BattleSettings battleSettings, GeneralSettings generalSettings ) : System
videoBattleService IVideoBattleService
videoBattleParticipantService IVideoBattleParticipantService
videoBattleVideoService IVideoBattleVideoService
videoBattleVoteService IVideoBattleVoteService
videoBattlePrizeService IVideoBattlePrizeService
userService IUserService
watchedVideoService IWatchedVideoService
pictureService IMediaService
sponsorService ISponsorService
timelineAutoPublisher ITimelineAutoPublisher
settingService ISettingService
paymentProcessingService IPaymentProcessingService
followService IFollowService
creditService ICreditService
formatterService IFormatterService
emailSender IEmailSender
videoProcessor IMobSocialVideoProcessor
mediaSettings mobSocial.Data.Entity.Settings.MediaSettings
paymentSettings mobSocial.Data.Entity.Settings.PaymentSettings
battleSettings mobSocial.Data.Entity.Settings.BattleSettings
generalSettings mobSocial.Data.Entity.Settings.GeneralSettings
return System