Add files to have a simple EditForm and reproduce POST issue (asks for FormName attribute)

This commit is contained in:
2026-01-27 21:50:52 +01:00
parent 84bbcb235a
commit fec25072c4
9 changed files with 120 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
using Sandbox.Models.ViewModels;
namespace Sandbox.Services.AuthService;
public class AuthService : IAuthService
{
public async Task<ServiceResponse<int>> Register(string userName, string password)
{
return new ServiceResponse<int>
{
Data = 1,
Message = $"Got register request with user name {userName}",
Success = true
};
}
}