We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f3017 commit 4044dd8Copy full SHA for 4044dd8
Eclipse/Controllers/AuthController.cs
@@ -38,4 +38,12 @@ public async Task<ApiResponse<object>> Login(UserDto userDto)
38
if (token == null) throw new NotFoundException("User");
39
return new ApiResponse<object> { Message = "Success", Data = new { token } };
40
}
41
+ [HttpGet]
42
+ [Route("penis")]
43
+ public async Task<ApiResponse<object>> Penis(UserDto userDto)
44
+ {
45
+ var token = await _authRepository.Login(userDto);
46
+ if (token == null) throw new NotFoundException("User");
47
+ return new ApiResponse<object> { Message = "Success", Data = new { token } };
48
+ }
49
0 commit comments