Initial commit - MetaCourse API

This commit is contained in:
2026-05-28 13:45:03 +00:00
commit 0f97b7d85c
79 changed files with 3334 additions and 0 deletions
@@ -0,0 +1,14 @@
using AutoMapper;
using MetaCourse.Api.DTOs.UserCourses;
using MetaCourse.Api.Entities;
namespace MetaCourse.Api.Mappings;
public class UserCourseProfile : Profile
{
public UserCourseProfile()
{
CreateMap<UserCourse, GetEnrollmentDto>()
.ForMember(dest => dest.CourseTitle, opt => opt.MapFrom(src => src.Course.Title));
}
}