public RemoteModel(MonitorRemoteService remoteService, ScreensContext context, IMemoryCache memoryCache) { remote = remoteService; this.context = context; cache = memoryCache; Playlists = context.Playlists.Select(p => new SelectListItem(p.Name, p.Name)); }
public CreateModel(ScreensContext context) { _context = context; }
public EditModel(ScreensContext context) { _context = context; }
public PlaylistController(ScreensContext context) { _context = context; }
public PlayerHub(ILogger <PlayerHub> logger, ScreensContext context, IMemoryCache memoryCache) { this.logger = logger; this.context = context; this.cache = memoryCache; }
public ItemsController(ScreensContext context) { _context = context; }