- Added EmailBlacklist service and controller for managing blacklisted emails. - Created EmailBlacklistDto for data transfer and EmailBlacklistFormViewModel for form handling. - Implemented views for listing and adding emails to the blacklist. - Updated database schema with new EmailBlacklist entity and related migrations. - Enhanced OAuthClientFormViewModel to include ClientId and ClientSecret properties. - Added EmailBlacklistService to handle email blacklisting logic. - Integrated email blacklist service into the application with necessary dependencies.
12 lines
362 B
C#
12 lines
362 B
C#
using Microsoft.AspNetCore.Identity;
|
|
|
|
namespace MemberCenter.Infrastructure.Identity;
|
|
|
|
public class ApplicationUser : IdentityUser<Guid>
|
|
{
|
|
public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow;
|
|
public bool IsBlacklisted { get; set; }
|
|
public DateTimeOffset? BlacklistedAt { get; set; }
|
|
public string? BlacklistedBy { get; set; }
|
|
}
|