Exemple #1
0
 public ManageController(ApplicationUserManager userManager, ApplicationSignInManager signInManager)
 {
     UserManager       = userManager;
     SignInManager     = signInManager;
     _portalSosService = new PortalSosService(new PortalSosRepository(new InrappSosDbContext(), new InrappSosAstridDbContext()));
     _errorDecsriber   = new CustomIdentityResultErrorDescriber();
 }
Exemple #2
0
 public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager)
 {
     UserManager     = userManager;
     SignInManager   = signInManager;
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
     _portalService  =
         new InrapporteringsPortalService(new PortalRepository(new ApplicationDbContext()));
 }
 public AccountController()
 {
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
     _portalService  =
         new PortalSosService(new PortalSosRepository(new InrappSosDbContext()));
     _generalHelper = new GeneralHelper();
     _mailHelper    = new MailHelper();
 }
 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();
 }
 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();
 }
 public AccountController()
 {
     _portalAdminService =
         new PortalAdminService(new PortalAdminRepository(new InrappAdminDbContext(), new InrappAdminIdentityDbContext()));
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
 }
Exemple #7
0
        public AccountController()
        {
            _portalSosService = new PortalSosService(new PortalSosRepository(new InrappSosDbContext(), new InrappSosAstridDbContext()));

            _errorDecsriber = new CustomIdentityResultErrorDescriber();
        }
Exemple #8
0
 public ManageController()
 {
     _portalService =
         new InrapporteringsPortalService(new PortalRepository(new ApplicationDbContext()));
     _errorDecsriber = new CustomIdentityResultErrorDescriber();
 }