Initial commit

This commit is contained in:
2026-05-05 10:39:43 +02:00
commit b590ecdc35
87 changed files with 3934 additions and 0 deletions
@@ -0,0 +1,9 @@
namespace MetaCourse.Api.DTOs.Topics;
public class CreateTopicDto
{
public Guid CourseId { get; set; }
public string Title { get; set; } = string.Empty;
public string? Description { get; set; }
public int Position { get; set; }
}
+13
View File
@@ -0,0 +1,13 @@
using MetaCourse.Api.DTOs.Resources;
namespace MetaCourse.Api.DTOs.Topics;
public class GetTopicDto
{
public Guid Id { get; set; }
public string Title { get; set; } = string.Empty;
public string? Description { get; set; }
public int Position { get; set; }
public Guid CourseId { get; set; }
public List<GetResourceDto> Resources { get; set; } = new();
}
@@ -0,0 +1,9 @@
namespace MetaCourse.Api.DTOs.Topics;
public class UpdateTopicDto
{
public Guid Id { get; set; }
public string Title { get; set; } = string.Empty;
public string? Description { get; set; }
public int Position { get; set; }
}