Files
Backend-Api/AccountManagement.Application.Contracts/Account/CreateProgramManagerUser.cs
2025-11-22 19:47:11 +03:30

21 lines
498 B
C#

namespace AccountManagement.Application.Contracts.Account;
public record CreateUserApiResponse
{
public bool isSuccess { get; set; }
public string? errorMessage { get; set; }
public ErrorType ErrorType { get; set; }
}
public record CreateProgramManagerUser(string FullName, string UserName, string Password, string Mobile, string? Email, long? AccountId);
public enum ErrorType
{
None,
BadRequest,
NotFound,
Unauthorized,
Validation,
InternalServerError
}