public UserController(IUserService userService, IUsersRolesService usersRolesService, IUsersPermissionsService usersPermissionsService) { _userService = userService; _usersRolesService = usersRolesService; _usersPermissionsService = usersPermissionsService; }
public PermissionsService( IUsersPermissionsService usersPermissionsService, IRepository <Permission> permissionService, IHttpContextAccessor httpContextAccessor) { _usersPermissionsService = usersPermissionsService; _permissionService = permissionService; _httpContextAccessor = httpContextAccessor; }
public UserService( IUsersRolesService usersRolesService, IUsersPermissionsService usersPermissionsService, IRepository <User> userRepository, IRepository <UsersPermissions> usersPermissionsRepository, IRepository <UsersRoles> usersRolesRepository, IRepository <Role> roleRepository, IHttpContextAccessor httpContextAccessor) { _usersRolesService = usersRolesService; _usersPermissionsService = usersPermissionsService; _usersRolesRepository = usersRolesRepository; _userRepository = userRepository; _usersPermissionsRepository = usersPermissionsRepository; _roleRepository = roleRepository; _httpContextAccessor = httpContextAccessor; }
public PermissionController(IPermissionsService permissionsService, IUsersPermissionsService usersPermissionsService) { _permissionsService = permissionsService; _usersPermissionsService = usersPermissionsService; }