Major refactor of AdminController and related services to support full CRUD for candidate resume, projects, hobbies, skills, academics, experiences, certifications, and contact info, all using access token claims for candidate identity. Introduced AdminService and expanded IResumeRepository for granular entity management. Updated DTOs for upsert operations and date support. Improved API versioning (Asp.Versioning.Mvc), Swagger integration, and middleware setup. Added unit test project. Enhanced error handling, documentation, and mapping.
13 lines
282 B
C#
13 lines
282 B
C#
namespace PortBlog.API.Models
|
|
{
|
|
public class HobbyDto
|
|
{
|
|
public int? HobbyId { get; set; }
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
public string? Icon { get; set; }
|
|
}
|
|
} |