Added Main

This commit is contained in:
2025-02-08 14:01:15 +01:00
parent d14f828514
commit 621df92b27
187 changed files with 8574 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using noteApi.Dtos.Note;
using noteApi.Models;
namespace noteApi.Mappers
{
public static class NoteMapper
{
public static Note ToNoteFromCreateDto(this CreateNoteDto noteDto)
{
return new Note
{
Title = noteDto.Title,
Content = noteDto.Content
};
}
}
}