public ClaimManagementController(IFoundItemClaimRepository foundItemClaim,
                                  ILostItemClaimRepository lostItemClaim, IEmailNotifier emailSender)
 {
     this.foundItemClaim = foundItemClaim;
     this.lostItemClaim  = lostItemClaim;
     this.emailSender    = emailSender;
 }
 public LostItemClaimController(UserManager <ApplicationUser> userManager,
                                IEmailNotifier emailNotifier, IUtility utility, ILostItemRepository lostItemRepository, ILostItemClaimRepository claimRepository)
 {
     this.userManager        = userManager;
     this.emailNotifier      = emailNotifier;
     this.utility            = utility;
     this.lostItemRepository = lostItemRepository;
     this.claimRepository    = claimRepository;
 }
 public MeetingManagementController(RoleManager <IdentityRole> roleMgr,
                                    IFoundItemClaimRepository foundItemClaimRepository, IEmailNotifier emailSender,
                                    ILostItemClaimRepository lostItemClaimRepository, UserManager <ApplicationUser> userManager, IMeetingRepository management)
 {
     this.roleManager = roleMgr;
     this.foundItemClaimRepository = foundItemClaimRepository;
     this.emailSender             = emailSender;
     this.lostItemClaimRepository = lostItemClaimRepository;
     this.userManager             = userManager;
     this.management = management;
 }
示例#4
0
 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;
 }
示例#5
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;
 }