Commit 0a65339a authored by Diego Iván's avatar Diego Iván
Browse files

eliminando metodos de controladores y servicioes sin implementación

parent fa942711
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -51,14 +51,4 @@ export class PlaceController {
  findOne(@Param('id') id: string) {
    return this.placeService.findOne(+id);
  }

  @Patch(':id')
  update(@Param('id') id: string, @Body() updatePlaceDto: UpdatePlaceDto) {
    return this.placeService.update(+id, updatePlaceDto);
  }

  @Delete(':id')
  remove(@Param('id') id: string) {
    return this.placeService.remove(+id);
  }
}
+0 −8
Original line number Diff line number Diff line
@@ -107,12 +107,4 @@ export class PlaceService {
    const place = await this.placeRepository.findOneBy({ idPlace: id });
    return place;
  }

  update(id: number, updatePlaceDto: UpdatePlaceDto) {
    return `This action updates a #${id} place`;
  }

  remove(id: number) {
    return `This action removes a #${id} place`;
  }
}
+0 −1
Original line number Diff line number Diff line
import { BadRequestException, Injectable } from '@nestjs/common';
import { CreatePointAndTradDto } from './dto/create-pointAndTraduction.dto';
import { UpdatePointDto } from './dto/update-point.dto';
import { InjectDataSource, InjectRepository } from '@nestjs/typeorm';
import { PointOfInterest } from './entities/PointOfInterest.entity';
import { DataSource, Repository } from 'typeorm';
+1 −11
Original line number Diff line number Diff line
import { Controller, Get, Post, Param, Delete, UseInterceptors, UploadedFile, Body, Query } from '@nestjs/common';
import { Controller, Get, Post, Param, UseInterceptors, UploadedFile, Body, Query } from '@nestjs/common';
import { TownService } from './town.service';
import { ApiBearerAuth, ApiBody, ApiConsumes, ApiParam, ApiQuery, ApiTags } from '@nestjs/swagger';
import { FileValidationPipe } from 'src/shared/pipe/file-validation.pipe';
@@ -37,14 +37,4 @@ export class TownController {
      throw error;
    }
  }

  @Get()
  findAll() {
    return this.townService.findAll();
  }

  @Delete(':id')
  remove(@Param('id') id: string) {
    return this.townService.remove(+id);
  }
}
+0 −8
Original line number Diff line number Diff line
@@ -69,12 +69,4 @@ export class TownService {
      stateId: item.stateId,
    }));
  }

  findAll() {
    return `This action returns all town`;
  }

  remove(id: number) {
    return `This action removes a #${id} town`;
  }
}