Está
This commit is contained in:
@@ -20,10 +20,13 @@ public class RepositorioNotificaciones : RepositorioBase<RepositorioNotificacion
|
||||
return Guardar(con);
|
||||
}
|
||||
|
||||
public bool AltaNotificacion(Notificacione n) {
|
||||
public bool AltaNotificacion(Notificacione n, long dni=0) {
|
||||
var con = Context;
|
||||
|
||||
con.Notificaciones.Add(n);
|
||||
if (dni !=0){
|
||||
GenerarLog(con, dni, "Se envio un informe");
|
||||
}
|
||||
return Guardar(con);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user