dev #48
@@ -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"});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user