Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions apps/admin/src/api/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,10 @@ export interface components {
mapX?: number | null;
/** Format: double */
mapY?: number | null;
/** Format: double */
lat?: number | null;
/** Format: double */
lng?: number | null;
audiencias?: string | null;
activo?: boolean;
/** Format: int32 */
Expand Down Expand Up @@ -1073,6 +1077,10 @@ export interface components {
mapX?: number | null;
/** Format: double */
mapY?: number | null;
/** Format: double */
lat?: number | null;
/** Format: double */
lng?: number | null;
audiencias?: string | null;
activo?: boolean;
/** Format: int32 */
Expand Down
4 changes: 4 additions & 0 deletions services/api/DTOs/AdminRequests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ public record CrearPoiRequest(
string? Descripcion,
double? MapX,
double? MapY,
double? Lat,
double? Lng,
string Audiencias,
bool Activo,
int? EscenaPrincipalId);
Expand All @@ -17,6 +19,8 @@ public record ActualizarPoiRequest(
string? Descripcion,
double? MapX,
double? MapY,
double? Lat,
double? Lng,
string Audiencias,
bool Activo,
int? EscenaPrincipalId);
Expand Down
4 changes: 4 additions & 0 deletions services/api/Services/ContenidoService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ public async Task<PoiDto> CrearPoiAsync(CrearPoiRequest request)
Descripcion = request.Descripcion,
MapX = request.MapX,
MapY = request.MapY,
Lat = request.Lat,
Lng = request.Lng,
Audiencias = request.Audiencias,
Activo = request.Activo,
EscenaPrincipalId = request.EscenaPrincipalId
Expand All @@ -142,6 +144,8 @@ public async Task<PoiDto> CrearPoiAsync(CrearPoiRequest request)
poi.Descripcion = request.Descripcion;
poi.MapX = request.MapX;
poi.MapY = request.MapY;
poi.Lat = request.Lat;
poi.Lng = request.Lng;
poi.Audiencias = request.Audiencias;
poi.Activo = request.Activo;
poi.EscenaPrincipalId = request.EscenaPrincipalId;
Expand Down
Loading