added api versions
This commit is contained in:
parent
492c4704aa
commit
62ead2b2fe
@ -26,41 +26,41 @@ export class CvService {
|
|||||||
if(this.cv != null){
|
if(this.cv != null){
|
||||||
return of(this.cv);
|
return of(this.cv);
|
||||||
}
|
}
|
||||||
return this.http.get<ICv>(`/api/cv/${candidateId}`);
|
return this.http.get<ICv>(`/api/v0.1/cv/${candidateId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
getHobbies(candidateId: number): Observable<IAbout>{
|
getHobbies(candidateId: number): Observable<IAbout>{
|
||||||
if(this.about != null){
|
if(this.about != null){
|
||||||
return of(this.about);
|
return of(this.about);
|
||||||
}
|
}
|
||||||
return this.http.get<IAbout>(`/api/cv/GetHobbies/${candidateId}`);
|
return this.http.get<IAbout>(`/api/v1/cv/GetHobbies/${candidateId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
getCandidateWithSocialLinks(candidateId: number): Observable<ISideBar>{
|
getCandidateWithSocialLinks(candidateId: number): Observable<ISideBar>{
|
||||||
if(this.candidateAndSocialLinks != null){
|
if(this.candidateAndSocialLinks != null){
|
||||||
return of(this.candidateAndSocialLinks);
|
return of(this.candidateAndSocialLinks);
|
||||||
}
|
}
|
||||||
return this.http.get<ISideBar>(`/api/cv/GetCandidateWithSocialLinks/${candidateId}`);
|
return this.http.get<ISideBar>(`/api/v1/cv/GetCandidateWithSocialLinks/${candidateId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
getResume(candidateId: number): Observable<IResume>{
|
getResume(candidateId: number): Observable<IResume>{
|
||||||
if(this.resume != null){
|
if(this.resume != null){
|
||||||
return of(this.resume);
|
return of(this.resume);
|
||||||
}
|
}
|
||||||
return this.http.get<IResume>(`/api/cv/GetResume/${candidateId}`);
|
return this.http.get<IResume>(`/api/v1/cv/GetResume/${candidateId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
getProjects(candidateId: number): Observable<IProjects>{
|
getProjects(candidateId: number): Observable<IProjects>{
|
||||||
if(this.projects != null){
|
if(this.projects != null){
|
||||||
return of(this.projects);
|
return of(this.projects);
|
||||||
}
|
}
|
||||||
return this.http.get<ICv>(`/api/cv/GetProjects/${candidateId}`);
|
return this.http.get<ICv>(`/api/v1/cv/GetProjects/${candidateId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
getBlog(candidateId: number): Observable<IBlog>{
|
getBlog(candidateId: number): Observable<IBlog>{
|
||||||
if(this.blog != null){
|
if(this.blog != null){
|
||||||
return of(this.blog);
|
return of(this.blog);
|
||||||
}
|
}
|
||||||
return this.http.get<IBlog>(`/api/cv/GetBlog/${candidateId}`);
|
return this.http.get<IBlog>(`/api/v1/cv/GetBlog/${candidateId}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
apiUrl: 'https://localhost:7013',
|
apiUrl: 'https://localhost:7013',
|
||||||
blogImagesUrl: 'https://bangararaju-uat.kottedi.in/blog/assets/img/posts/',
|
blogImagesUrl: 'https://bangararaju-uat.kottedi.in/blog/assets/img/posts/',
|
||||||
apiKey: ""
|
apiKey: "c6eAXYcNT873TT7BfMgQyS4ii7hxa53TLEUN7pAGaaU="
|
||||||
};
|
};
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>My Portfolio</title>
|
<title>Bangara Raju Kottedi</title>
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user