Changeset c7d4a59 for iknow-api/Controllers
- Timestamp:
- 10/22/25 23:34:14 (11 months ago)
- Branches:
- master
- Children:
- 9538edc
- Parents:
- 277bd72
- Location:
- iknow-api/Controllers
- Files:
-
- 1 deleted
- 1 edited
-
AuthController.cs (modified) (3 diffs)
-
UsersControllers.cs (deleted)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Controllers/AuthController.cs
r277bd72 rc7d4a59 2 2 using iknow_api.Services; 3 3 using Microsoft.AspNetCore.Mvc; 4 //test 4 5 5 namespace iknow_api.Controllers 6 6 { … … 31 31 32 32 [HttpPost("register")] 33 public async Task<IActionResult> Register([FromBody] UserDto request)33 public async Task<IActionResult> Register([FromBody] RegisterDto request) 34 34 { 35 35 var result = await _authService.RegisterAsync(request); … … 39 39 40 40 [HttpPost("login")] 41 public async Task<IActionResult> Login([FromBody] UserDto request)41 public async Task<IActionResult> Login([FromBody] LoginDto request) 42 42 { 43 43 var token = await _authService.LoginAsync(request);
Note:
See TracChangeset
for help on using the changeset viewer.
