From 1377fa7207fc1a6ba89d8a8fac2d8e8ae20cf572 Mon Sep 17 00:00:00 2001 From: AleksDw Date: Wed, 7 May 2025 21:33:10 +0200 Subject: [PATCH] Delete EventsDto.cs --- WebApp/DTOs/EventsDto.cs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 WebApp/DTOs/EventsDto.cs diff --git a/WebApp/DTOs/EventsDto.cs b/WebApp/DTOs/EventsDto.cs deleted file mode 100644 index e2dcec3..0000000 --- a/WebApp/DTOs/EventsDto.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.ComponentModel.DataAnnotations; -using WebApp.Entities; - -namespace WebApp.DTOs; -public record class EventsDto( - int EventId, - int OrganisationId, //foreign key - [StringLength(200)] string Title, - [StringLength(800)] string Description, - [StringLength(100)] string Location, - DateTime EventDate, - Organisation? Organisation, - ICollection EventSkills, - ICollection EventRegistrations - );