avance: estado pre implementacion de notificaciones

This commit is contained in:
2025-01-06 21:22:58 -03:00
parent ed0d83dafe
commit 07cfec619c

View File

@@ -29,6 +29,7 @@ public class NotificacionesController: ControllerBase {
noti.AddFirst(dto);
});
return Ok(noti);
}
@@ -76,7 +77,6 @@ public class NotificacionesController: ControllerBase {
.Build();
var ret = RepositorioNotificaciones.Singleton.AltaNotificacion(noti);
return ret?
Ok(new {message = "Se envio la notificacion"}):BadRequest(new {message = "Fallo al intentar guardar la notificacion"});
}