using Femto.Modules.Authentication.Application; using Microsoft.AspNetCore.Mvc; namespace Femto.Api.Controllers.Auth; [ApiController] [Route("auth")] public class AuthController(IAuthenticationModule authModule) : ControllerBase { [HttpPost("login")] public async Task> Login([FromBody] LoginRequest request) { var userId = await authModule.PostCommand(new LoginCommand(request.Username, request.Password)); throw new NotImplementedException(); } [HttpPost("signup")] public async Task> Signup([FromBody] SignupRequest request) { throw new NotImplementedException(); } [HttpPost("delete-session")] public async Task DeleteSession([FromBody] DeleteSessionRequest request) { // TODO return Ok(new {}); } }