public HomeController(IReportRepository reportRepository, IInvestigationRepository investigationRepository, UserManager <ApplicationUser> userManager, IUpvotesRepository upvotesRepository, IUserRepository userRepository, ILogger <HomeController> logger) { _reportRepository = reportRepository; _investigationRepository = investigationRepository; _userManager = userManager; _upvotesRepository = upvotesRepository; _userRepository = userRepository; _logger = logger; }
public InvestigationController(IInvestigationRepository repository, IConfiguration configuration) { _repository = repository; _configuration = configuration; }
public InvestigationController(IInvestigationRepository investigationRepository) { this.investigationRepository = investigationRepository; }