Added backend functions
This commit is contained in:
13
src/WorkTime.Api/Controllers/AuthController.cs
Normal file
13
src/WorkTime.Api/Controllers/AuthController.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace WorkTime.Api.Controllers;
|
||||
|
||||
[ApiController, Route("auth")]
|
||||
public class AuthController : ControllerBase {
|
||||
|
||||
[HttpGet("register")]
|
||||
public ActionResult<Guid> Register() {
|
||||
return Ok(Guid.NewGuid().ToString());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user