예제 #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));
        }
예제 #2
0
 public CreateModel(ScreensContext context)
 {
     _context = context;
 }
예제 #3
0
 public EditModel(ScreensContext context)
 {
     _context = context;
 }
 public PlaylistController(ScreensContext context)
 {
     _context = context;
 }
예제 #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;
 }