Esempio n. 1
0
 public ManageController(ApplicationUserManager userManager, ApplicationSignInManager signInManager)
 {
     UserManager       = userManager;
     SignInManager     = signInManager;
     _portalSosService = new PortalSosService(new PortalSosRepository(new InrappSosDbContext(), new InrappSosAstridDbContext()));
     _errorDecsriber   = new CustomIdentityResultErrorDescriber();
 }
Esempio n. 2
0
 public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager)
 {
     UserManager     = userManager;
     SignInManager   = signInManager;
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
     _portalService  =
         new InrapporteringsPortalService(new PortalRepository(new ApplicationDbContext()));
 }
Esempio n. 3
0
 public AccountController()
 {
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
     _portalService  =
         new PortalSosService(new PortalSosRepository(new InrappSosDbContext()));
     _generalHelper = new GeneralHelper();
     _mailHelper    = new MailHelper();
 }
Esempio n. 4
0
 public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, ApplicationRoleManager roleManager)
 {
     _errorDecsriber     = new CustomIdentityResultErrorDescriber();
     UserManager         = userManager;
     SignInManager       = signInManager;
     RoleManager         = roleManager;
     _portalAdminService =
         new PortalAdminService(new PortalAdminRepository(new InrappAdminDbContext(), new InrappAdminIdentityDbContext()));
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
 }
Esempio n. 5
0
 public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager)
 {
     UserManager     = userManager;
     SignInManager   = signInManager;
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
     _portalService  =
         new PortalSosService(new PortalSosRepository(new InrappSosDbContext()));
     _generalHelper = new GeneralHelper();
     _mailHelper    = new MailHelper();
 }
Esempio n. 6
0
 public AccountController()
 {
     _portalAdminService =
         new PortalAdminService(new PortalAdminRepository(new InrappAdminDbContext(), new InrappAdminIdentityDbContext()));
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
 }
Esempio n. 7
0
        public AccountController()
        {
            _portalSosService = new PortalSosService(new PortalSosRepository(new InrappSosDbContext(), new InrappSosAstridDbContext()));

            _errorDecsriber = new CustomIdentityResultErrorDescriber();
        }
Esempio n. 8
0
 public ManageController()
 {
     _portalService =
         new InrapporteringsPortalService(new PortalRepository(new ApplicationDbContext()));
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
 }