//Service will be injected:
 public PagesController(IEntertainmentService service)
 {
     _service = service;
 }
示例#2
0
 public VideoFeedViewModel(IEntertainmentService entertainmentService)
 {
     _entertainmentService = entertainmentService;
 }