import { Controller, Post, Body } from '@nestjs/common';
import { UnlinkAbhaFromPatientService } from './unlink-abha-from-patient.service';
import { UnlinkAbhaFromPatient } from './entities/unlink-abha-from-patient.entity';

@Controller('unlink-abha-from-patient')
export class UnlinkAbhaFromPatientController {
  constructor(private readonly unlinkAbhaFromPatientService: UnlinkAbhaFromPatientService) { }

  @Post()
  create(@Body() createUnlinkAbhaFromPatientDto: UnlinkAbhaFromPatient) {
    return this.unlinkAbhaFromPatientService.create(createUnlinkAbhaFromPatientDto);
  }
}
