GraphQL Server.
This commit is contained in:
26
backend/src/users/users.service.ts
Normal file
26
backend/src/users/users.service.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { CreateUserInput } from './dto/create-user.input';
|
||||
import { UpdateUserInput } from './dto/update-user.input';
|
||||
|
||||
@Injectable()
|
||||
export class UsersService {
|
||||
create(createUserInput: CreateUserInput) {
|
||||
return 'This action adds a new user';
|
||||
}
|
||||
|
||||
findAll() {
|
||||
return `This action returns all users`;
|
||||
}
|
||||
|
||||
findOne(id: number) {
|
||||
return `This action returns a #${id} user`;
|
||||
}
|
||||
|
||||
// update(id: number, updateUserInput: UpdateUserInput) {
|
||||
// return `This action updates a #${id} user`;
|
||||
// }
|
||||
|
||||
remove(id: number) {
|
||||
return `This action removes a #${id} user`;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user