public bool RegistrarLeyenda(LeyendaBEL valor) { var datos = new Datos(); var hdatos = new Hashtable(); bool resultado; hdatos.Add("@codLeyenda", valor.Codigo); resultado = datos.Escribir("SP_LEYENDA_REGISTRAR", hdatos); return(resultado); }
public bool RegistrarLeyenda(LeyendaBEL valor) { try { return(new IdiomaDAL().RegistrarLeyenda(valor)); } catch (Exception ex) { Logger.WriteLogExeption(ex); throw ex; } }