public RoleController()
 {
     _roleService         = new AspNetRolesService();
     _webFunctionService  = new WebFunctionsService();
     _roleFunctionService = new RoleFunctionService();
     _aspNetUsersService  = new AspNetUsersService();
 }
Beispiel #2
0
 public AspNetUserRolesController(
     IAspNetRolesService aspNetRolesService,
     IAspNetUserRolesService aspNetUserRoles)
 {
     _aspNetRolesService = aspNetRolesService;
     _aspNetUserRoles    = aspNetUserRoles;
 }
        public WebAccountController()
        {
            _repository = new AuthRepository();

            _codeDetailService  = new CodeDetailService();
            _aspNetUsersService = new AspNetUsersService();
            _aspNetRolesService = new AspNetRolesService();
        }
Beispiel #4
0
 public BaseController()
 {
     _aspNetUsersService      = new AspNetUsersService();
     _aspNetRolesService      = new AspNetRolesService();
     _companyService          = new CompanyService();
     _vehicleService          = new VehicleService();
     _bookingService          = new BookingService();
     _phonePushMessageService = new PhonePushMessageService();
     _mobilePushKeyService    = new MobilePushKeyService();
     _customerService         = new CustomerService();
 }
 public AspNetUserRolesService(
     DataContext context,
     IMapper mapper,
     IAspNetRolesService roleService,
     RoleManager <Role> roleManager)
 {
     _context     = context;
     _mapper      = mapper;
     _roleService = roleService;
     _roleManager = roleManager;
 }
 public AspNetRolesController(
     IAspNetRolesService aspNetRolesService)
 {
     _aspNetRolesService = aspNetRolesService;
 }