Files
dmenu-api/src/modules/payments/services/payments.service.ts
T
2025-11-21 18:37:09 +03:30

27 lines
669 B
TypeScript

import { Injectable } from '@nestjs/common';
import { CreatePaymentInput } from '../dto/create-payment.input';
import { UpdatePaymentInput } from '../dto/update-payment.input';
@Injectable()
export class PaymentsService {
create(createPaymentInput: CreatePaymentInput) {
return 'This action adds a new payment';
}
findAll() {
return `This action returns all payments`;
}
findOne(id: number) {
return `This action returns a #${id} payment`;
}
update(id: number, updatePaymentInput: UpdatePaymentInput) {
return `This action updates a #${id} payment`;
}
remove(id: number) {
return `This action removes a #${id} payment`;
}
}