Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 17 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import {CommandHandler} from '@nestjs/cqrs'; |
||
2 | import {Inject} from '@nestjs/common'; |
||
3 | import {CreateQuoteCommand} from './CreateQuoteCommand'; |
||
4 | import {IQuoteRepository} from 'src/Domain/Billing/Repository/IQuoteRepository'; |
||
5 | |||
6 | @CommandHandler(CreateQuoteCommand) |
||
7 | export class CreateQuoteCommandHandler { |
||
8 | constructor( |
||
9 | @Inject('IQuoteRepository') |
||
10 | private readonly quoteRepository: IQuoteRepository |
||
11 | ) {} |
||
12 | |||
13 | public async execute(command: CreateQuoteCommand): Promise<string> { |
||
14 | return ''; |
||
15 | } |
||
16 | } |
||
17 |