コード例 #1
0
 public ProfileController(UserManager <ApplicationUser> manager, IStoreMessages messagesStore, IStoreRatings ratingstore, IUserRepo userRepo)
 {
     _ratingstore   = ratingstore;
     _manager       = manager;
     _messagesStore = messagesStore;
     _userRepo      = userRepo;
 }
コード例 #2
0
        public MapPageController(UserManager <ApplicationUser> manager, SignInManager <ApplicationUser> signInManager, IStoreMessages store, IStoreRatings ratingstore, IUserRepo userRepo)
        {
            _manager       = manager;
            _signInManager = signInManager;

            _ratingstore  = ratingstore;
            _messageStore = store;

            _userRepo = userRepo;
        }
コード例 #3
0
 public ManageController(
     IStoreRatings ratingstore,
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     ILogger <ManageController> logger,
     UrlEncoder urlEncoder,
     IHostingEnvironment ihostingEnvironment)
 {
     _ratingstore   = ratingstore;
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _logger        = logger;
     _urlEncoder    = urlEncoder;
     he             = ihostingEnvironment;
 }