コード例 #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;
 }
コード例 #2
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;
 }