public AccountController(IApplicationUserService applicationUserService, IApplicationUserRoleService userRolesService)
     : this(new UserManager <ApplicationUser>(new ApplicationUserStore(new ApplicationDbContext())))
 {
     _applicationUserService = applicationUserService;
     _userRolesService       = userRolesService;
     ApplicationDbContext    = new ApplicationDbContext();
     UserManager             = new UserManager <ApplicationUser>(new ApplicationUserStore(ApplicationDbContext));
 }
 public ApplicationUserOrchestra(IApplicationUserService AspNetUserService, IApplicationUserRoleService applicationUserRoleService, ICompanyService companyService,
                                 IDivisionService divisionService, IDepartmentService departmentService, IvwPermissionDetailService vwPermissionDetailService)
 {
     _applicationUserService     = AspNetUserService;
     _applicationUserRoleService = applicationUserRoleService;
     _companyService             = companyService;
     _departmentService          = departmentService;
     _divisonService             = divisionService;
     _vwPermissionDetailService  = vwPermissionDetailService;
 }
 public AdminApplicationUserRoleController(IApplicationUserRoleService applicationUserRoleService,
                                           IComboboxService comboboxService,
                                           IApplicationUserService userService,
                                           IRoutingService routingService,
                                           ILayoutAdminService layoutService)
     : base(applicationUserRoleService, layoutService)
 {
     _applicationUserRoleService = applicationUserRoleService;
     _comboboxService            = comboboxService;
     _routingService             = routingService;
     _userService = userService;
     UserManager  = new UserManager <ApplicationUser>(new ApplicationUserStore(new ApplicationDbContext()));
 }
Beispiel #4
0
 public AdminController(IGenericService <AppRole> genericServiceR, IApplicationUserRoleService applicationUserRoleService, IAppRoleService appRoleService, UserManager <AppUser> userManager, RoleManager <AppRole> roleManager, IMapper mapper, IYaziService yaziService, ITagService tagService, IAppUserService appUserService, IGenericService <Yazi> genericService)
 {
     _genericServiceR            = genericServiceR;
     _applicationUserRoleService = applicationUserRoleService;
     _userManager    = userManager;
     _roleManager    = roleManager;
     _appRoleService = appRoleService;
     _genericService = genericService;
     _mapper         = mapper;
     _yaziService    = yaziService;
     _tagService     = tagService;
     _appUserService = appUserService;
 }
 public ApplicationUserController(
     IApplicationGroupService appGroupService,
     IApplicationRoleService appRoleService,
     ApplicationUserManager userManager,
     IDonViCoSoService donViCoSoService,
     IApplicationUserRoleService applicationUserRoleService,
     IErrorService errorService)
     : base(errorService)
 {
     _appRoleService             = appRoleService;
     _appGroupService            = appGroupService;
     _userManager                = userManager;
     _donViCoSoService           = donViCoSoService;
     _applicationUserRoleService = applicationUserRoleService;
 }