public int N_Modificar_Historial_Clinico(DateTime fecha, String descripcion, Decimal precio,int id_Historial) { HistorialClinico historial = new HistorialClinico(); historial.Id = id_Historial; historial.Fecha = fecha; historial.Descripcion = descripcion; historial.Precio = precio; int band = new DHistorialClinico().D_modificar_historial(historial); return band; }
public int N_Insertar_Historial_Clinico(int seria_mascota, DateTime fecha, String descripcion, Decimal precio) { HistorialClinico historial = new HistorialClinico(); Mascota m = new Mascota(); m.Serie = seria_mascota; historial.Mascota = m; historial.Fecha = fecha; historial.Descripcion = descripcion; historial.Precio = precio; int band = new DHistorialClinico().D_registrar_historial(historial); return band; }