Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-casa-user-data-service
Commits
5ddebd5d
Unverified
Commit
5ddebd5d
authored
1 year ago
by
Pawan k
Committed by
GitHub
1 year ago
Browse files
Options
Download
Patches
Plain Diff
Update app.controller.ts
parent
aa6d2bf1
getStudentByRollnumber
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app.controller.ts
+3
-3
src/app.controller.ts
with
3 additions
and
3 deletions
+3
-3
src/app.controller.ts
+
3
−
3
View file @
5ddebd5d
...
@@ -34,9 +34,9 @@ export class AppController {
...
@@ -34,9 +34,9 @@ export class AppController {
return
this
.
appService
.
getStudentById
(
params
.
id
);
return
this
.
appService
.
getStudentById
(
params
.
id
);
}
}
@
Get
(
'
student/:rollnumber
'
)
@
Get
(
'
student/:rollnumber
/:dob
'
)
getStudentByRollnumber
(@
Param
()
params
)
{
getStudentByRollnumber
AndDOB
(@
Param
()
params
)
{
return
this
.
appService
.
getStudentByRollnumber
(
params
.
rollnumber
);
return
this
.
appService
.
getStudentByRollnumber
(
params
.
rollnumber
,
params
.
dob
);
}
}
@
Get
(
'
tutor/:id
'
)
@
Get
(
'
tutor/:id
'
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets