public ClientsController(IClientGroupService cgS, IEndPlayerClientService epcS, IClientScheduleService csS, ICampaignService cS) { clientGroupService = cgS; endPlayerClientService = epcS; clientScheduleService = csS; campaignService = cS; }
//public ContentHub(IEndPlayerClientService epcS) : base() //{ // this.endPlayerClientService = epcS; //} public ContentHub(ILifetimeScope lifetimeScope) { this._hubLifetimeScope = lifetimeScope.BeginLifetimeScope(); // Resolve dependencies from the hub lifetime scope. endPlayerClientService = _hubLifetimeScope.Resolve <IEndPlayerClientService>(); clientScheduleService = _hubLifetimeScope.Resolve <IClientScheduleService>(); }
public SchedulesController(IClientScheduleService csS, IMediaStorageService mfS, ICampaignService cS) { this.campaignService = cS; this.clientScheduleService = csS; this.mediaStorageService = mfS; }