public HomeController(IFoundItemRepository repository, ILocalGovernmentRepository localGovernmentRepository, UserManager <ApplicationUser> userManager, ILostItemRepository lostItemRepository, IStateRepository stateRepository) { this.repository = repository; this.localGovernmentRepository = localGovernmentRepository; this.userManager = userManager; this.lostItemRepository = lostItemRepository; this.stateRepository = stateRepository; }
public LostItemController(IStateRepository stateRepository, ILocalGovernmentRepository lgaRepository, IEmailNotifier emailNotifier, IUtility utility, ILostItemRepository repository, ILostItemClaimRepository claimRepository, UserManager <ApplicationUser> userManager) { this.stateRepository = stateRepository; this.lgaRepository = lgaRepository; this.emailNotifier = emailNotifier; this.utility = utility; this.repository = repository; this.claimRepository = claimRepository; // this.context = context; this.userManager = userManager; }