Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 public CreateModel(ScreensContext context)
 {
     _context = context;
 }
Exemplo n.º 3
0
 public EditModel(ScreensContext context)
 {
     _context = context;
 }
 public PlaylistController(ScreensContext context)
 {
     _context = context;
 }
Exemplo n.º 5
0
 public PlayerHub(ILogger <PlayerHub> logger, ScreensContext context, IMemoryCache memoryCache)
 {
     this.logger  = logger;
     this.context = context;
     this.cache   = memoryCache;
 }
 public ItemsController(ScreensContext context)
 {
     _context = context;
 }