Exemplo n.º 1
0
 public VideosController(
     ICategoriesService categoriesService,
     IVideosService videosService,
     IHistoriesService historiesService,
     UserManager <ApplicationUser> userManager)
 {
     this.categoriesService = categoriesService;
     this.videosService     = videosService;
     this.historiesService  = historiesService;
     this.userManager       = userManager;
 }
Exemplo n.º 2
0
 public PlayersFunctions(IConfiguration configuration) : base(configuration)
 {
     _playersService   = new PlayersService(base._context, base._mapper);
     _historiesService = new HistoriesService(base._context, base._mapper);
 }
Exemplo n.º 3
0
 public HistoriesController(IHistoriesService historiesService, UserManager <ApplicationUser> userManager)
 {
     this.historiesService = historiesService;
     this.userManager      = userManager;
 }