Добавил слой Application
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using UniVerse.Application.DTOs.Tags;
|
||||
|
||||
namespace UniVerse.Application.DTOs.Courses;
|
||||
|
||||
public record CourseDto(
|
||||
int Id,
|
||||
string Name,
|
||||
string? Description,
|
||||
bool IsSynced,
|
||||
List<TagDto> Tags,
|
||||
DateTime CreatedAt
|
||||
);
|
||||
|
||||
public record CreateCourseRequest(string Name, string? Description);
|
||||
|
||||
public record UpdateCourseRequest(string Name, string? Description);
|
||||
|
||||
public record CourseFilterRequest(
|
||||
int? TagId,
|
||||
string? Search,
|
||||
bool? IsSynced,
|
||||
int Page = 1,
|
||||
int PageSize = 20
|
||||
);
|
||||
Reference in New Issue
Block a user