Exemple #1
0
 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 FoundItemClaimController(IFoundItemClaimRepository claimRepository,
                                 IEmailNotifier emailNotifier, IFoundItemRepository foundItemRepository, IUtility utility,
                                 UserManager <ApplicationUser> userManager)
 {
     this.claimRepository     = claimRepository;
     this.emailNotifier       = emailNotifier;
     this.foundItemRepository = foundItemRepository;
     this.utility             = utility;
     this.userManager         = userManager;
 }
Exemple #3
0
 public MeetingController(IFoundItemRepository repository, IFoundItemClaimRepository claimRepository,
                          UserManager <ApplicationUser> userManager, IEmailNotifier emailNotifier, IStateRepository stateRepository, IMeetingRepository meetingRepository)
 {
     this.repository        = repository;
     this.claimRepository   = claimRepository;
     this.userManager       = userManager;
     this.emailNotifier     = emailNotifier;
     this.stateRepository   = stateRepository;
     this.meetingRepository = meetingRepository;
 }
Exemple #4
0
 public DashboardController(ILostItemRepository lostrepository,
                            IFoundItemRepository foundrepository,
                            IFoundItemClaimRepository claimRepository,
                            ILostItemClaimRepository lostItemClaimRepo,
                            UserManager <ApplicationUser> userManager,
                            IMeetingRepository meetingRepository)
 {
     this.lostrepository    = lostrepository;
     this.foundrepository   = foundrepository;
     this.claimRepository   = claimRepository;
     this.lostItemClaimRepo = lostItemClaimRepo;
     this.userManager       = userManager;
     this.meetingRepository = meetingRepository;
 }
Exemple #5
0
 public FoundItemController(MisFinderDbContext context, IUtility utility,
                            IFoundItemRepository repository, IStateRepository staterepository,
                            ILocalGovernmentRepository lgaRepository,
                            IFoundItemClaimRepository claimRepository,
                            UserManager <ApplicationUser> userManager, IEmailNotifier emailNotifier)
 {
     this.context         = context;
     this.utility         = utility;
     this.repository      = repository;
     this.staterepository = staterepository;
     this.lgaRepository   = lgaRepository;
     this.claimRepository = claimRepository;
     this.userManager     = userManager;
     this.emailNotifier   = emailNotifier;
 }