Пример #1
0
 public HomeController(
     ILogger <HomeController> logger,
     RoleManager <IdentityRole> roleManager,
     UserManager <ApplicationUser> userManager,
     IReportService reportService,
     IHazardService hazardService,
     ICommentService commentService,
     IReportStatus reportStatus,
     ILikeService likeService,
     IHallOfFameService fameService,
     IInvestigationService investigationService
     )
 {
     _logger               = logger;
     _roleManager          = roleManager;
     _userManager          = userManager;
     _reportService        = reportService;
     _hazardService        = hazardService;
     _commentService       = commentService;
     _reportStatus         = reportStatus;
     _likeService          = likeService;
     _fameService          = fameService;
     _investigationService = investigationService;
 }
Пример #2
0
 public HallOfFameController(IHallOfFameService hallOfFameService)
 {
     this.hallOfFameService = hallOfFameService;
 }