update to dotnet 10
This commit is contained in:
@@ -3,8 +3,6 @@ import {HttpClient} from "@angular/common/http";
|
||||
import {environment} from "../../../environments/environment.development";
|
||||
import {IUserService} from "../../presentation/interfaces/iuser-service";
|
||||
import { Observable } from "rxjs";
|
||||
import {CookieConsentRequest} from "../../presentation/models/cookie-consent-request";
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
@@ -21,11 +19,4 @@ export class UserService implements IUserService {
|
||||
};
|
||||
return this.httpClient.get<any>(this.baseUrl + 'user', {params});
|
||||
}
|
||||
|
||||
assignCookieConsent(CookieConsentRequest: CookieConsentRequest): Observable<any> {
|
||||
return this.httpClient.post<any>(this.baseUrl + 'user/assign-cookie', CookieConsentRequest,{});
|
||||
}
|
||||
revokeCookieConsent(): Observable<any>{
|
||||
return this.httpClient.delete<any>(this.baseUrl + 'user/revoke-cookie', {});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user