Esempio n. 1
0
 public InvestigateController(UserManager <ApplicationUser> userManager,
                              SignInManager <ApplicationUser> signInManager,
                              IHostingEnvironment hostingEnvironment,
                              IReportService reportService,
                              IHazardService hazardService,
                              IReportStatus reportStatus,
                              IInvestigationService investigationService,
                              IEmailService emailService,
                              IUserService userService)
 {
     _userManager          = userManager;
     _signInManager        = signInManager;
     _hostingEnvironment   = hostingEnvironment;
     _reportService        = reportService;
     _hazardService        = hazardService;
     _reportStatus         = reportStatus;
     _investigationService = investigationService;
     _emailService         = emailService;
     _userService          = userService;
 }
 public ReportController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IHostingEnvironment hostingEnvironment,
     IReportService reportService,
     IHazardService hazardService,
     ICommentService commentService,
     IReportStatus reportStatus,
     ILikeService likeService,
     IInvestigationService investigationService)
 {
     _userManager          = userManager;
     _signInManager        = signInManager;
     _hostingEnvironment   = hostingEnvironment;
     _reportService        = reportService;
     _hazardService        = hazardService;
     _commentService       = commentService;
     _reportStatus         = reportStatus;
     _likeService          = likeService;
     _investigationService = investigationService;
 }
 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;
 }