Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

node / app-admin

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • app-admin
  • src
  • modules
  • hello
  • hello.service.ts
  • yixinjj's avatar
    first commit · ca0d3ca9
    yixinjj committed Sep 10, 2024
    ca0d3ca9 Browse Files
hello.service.ts 402 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import { Injectable } from '@nestjs/common';

@Injectable()
export class HelloService {
  fetch(id): string {
    return `Hello World!! ${id}`;
  }

  save(message): string {
    return `Set Hello Done.${message}`;
  }

  update(id: string, message: string): string {
    return `Update Hello Done. ${id}:${message}`;
  }

  remove(id: number): string {
    return `${id} Record Was Removed.`;
  }
}