Пример #1
0
 public AdsController(IvCatalogRepository repo, IMapper _mapper, UserManager <IdentityUser> userMgr, SignInManager <IdentityUser> signInMgr, ILogger <HomeController> _logger)
 {
     userManager   = userMgr;
     repository    = repo;
     mapper        = _mapper;
     logger        = _logger;
     signInManager = signInMgr;
 }
Пример #2
0
 public CustomerSummary(IvCatalogRepository repo, SignInManager <IdentityUser> signInMgr, UserManager <IdentityUser> userMgr)
 {
     repository    = repo;
     signInManager = signInMgr;
     userManager   = userMgr;
 }