21 lines
498 B
C#
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
|
|
} |