diff --git a/src/event/event.service.ts b/src/event/event.service.ts index 254ec7c..b0be4b3 100644 --- a/src/event/event.service.ts +++ b/src/event/event.service.ts @@ -5,7 +5,7 @@ import { UpdateEventDto } from "./dto/update-event.dto"; @Injectable() export class EventService { create(createEventDto: CreateEventDto) { - return "This action adds a new event"; + return createEventDto; } findAll() { @@ -17,7 +17,7 @@ export class EventService { } update(id: number, updateEventDto: UpdateEventDto) { - return `This action updates a #${id} event`; + return `This action updates a #${id} event` + updateEventDto; } remove(id: number) {