public static string EliminarMascota(int idmascota) { DMascota objMascota = new DMascota(); objMascota.IdMascota = idmascota; return(objMascota.EliminarMascota(objMascota)); }
public static DataTable BuscarMascotaId(int idMascota) { DMascota objMascota = new DMascota(); objMascota.IdMascota = idMascota; return(objMascota.BuscarMascotaId(objMascota)); }
public static DataTable BuscarMascota(string textoBuscar) { DMascota objMascota = new DMascota(); objMascota.TextoBuscar = textoBuscar; return(objMascota.BuscarMascota(objMascota)); }
public static string InsertarMascota(string nombre, string edad, string sexo, string peso, string descripcion, int idRaza, int idCliente, byte[] foto) { DMascota objMascota = new DMascota(); objMascota.Nombre = nombre; objMascota.Edad = edad; objMascota.Sexo = sexo; objMascota.Peso = peso; objMascota.Descripcion = descripcion; objMascota.IdRaza = idRaza; objMascota.IdCliente = idCliente; objMascota.Foto = foto; return(objMascota.InsertarMascota(objMascota)); }
public int N_modificar_mascota_confecha_esterilizado(int serie, Usuario rescatista, FichaTemporal fitemp, DateTime fIngreso, TipoMascota tipo, string tamano, string estado, string nombre, string raza, string sexo, string color, string edad, String esterilizado, DateTime FechaEsterilizado) { Mascota masc = new Mascota(); masc.Serie = serie; masc.Ser_usu = (Usuario)rescatista; masc.Fic_tem = (FichaTemporal)fitemp; masc.Fecha_ingreso = fIngreso; masc.Tipomascota = (TipoMascota)tipo; masc.Tamano = tamano; masc.Estado = estado; masc.Nombre = nombre; masc.Raza = raza; masc.Sexo = sexo; masc.Color = color; masc.Edad = edad; masc.Esterilizado = esterilizado; masc.Fecha_esterilizacion = FechaEsterilizado; int band = new DMascota().D_modificar_mascotaConFecha_Esterilizado(masc); return(band); }
public static int ReportarMascotaWM(EMascota ent) { return(DMascota.ReportarMascotaWM(ent)); }
public static string ActualizarFotoMascotaWM(EMascota ent) { return(DMascota.ActualizarFotoMascotaWM(ent)); }
public static int log_error(string p_error, string p_tipo) { return(DMascota.log_error(p_error, p_tipo)); }
public static string SolicitarServicioWM(ESolicitud ent) { return(DMascota.SolicitarServicioWM(ent)); }
public static int ActualizarMascotaWM(EMascota ent) { return(DMascota.ActualizarMascotaWM(ent)); }
public static List <EMascota> filtroMascotaWM(EMascota ent) { return(DMascota.filtroMascotaWM(ent)); }
public static string MuerteMascotaWM(EMascota ent) { return(DMascota.MuerteMascotaWM(ent)); }
public String N_Ver_FechaEsterilizacion(int serie_mascota) { String band = new DMascota().D_Ver_FechaEsterilizacion(serie_mascota); return(band); }
public static string RegistrarMascotaWM(EMascota ent) { return(DMascota.RegistrarMascotaWM(ent)); }
public static int AnularMascotaWM(EMascota ent) { return(DMascota.AnularMascotaWM(ent)); }
public int N_ultima_serie() { int b = new DMascota().ultima_serie_ficha(); return(b); }
public static EMascota ObtenerMascotaAdopcion(EMascota ent) { return(DMascota.ObtenerMascotaAdopcion(ent)); }
public static EMascota ObtenerMascotaxId(EMascota ent) { return(DMascota.ObtenerMascotaxId(ent)); }
public static List <EMascota> listarMascotaAdopcion(EMascota ent) { return(DMascota.listarMascotaAdopcion(ent)); }
public static EMascota preRegistrarMascotaWM(EMascota ent) { return(DMascota.preRegistrarMascotaWM(ent)); }
public static string PerdidaMascotaWM(EMascota ent) { return(DMascota.PerdidaMascotaWM(ent)); }
public static int CuponMascotaWM(EMascota ent) { return(DMascota.CuponMascotaWM(ent)); }
//public static int ActualizarProductos(EProducto ent) //{ // return DProducto.ActualizarProductos(ent); //} public static List <EMascota> listarMascota(EMascota ent) { return(DMascota.listarMascota(ent)); }
public List <Mascota> N_Listar_Mascotas() { List <Mascota> lista = new DMascota().D_ListarMascotas(); return(lista); }
public static int EncontradaMascotaWM(EMascota ent) { return(DMascota.EncontradaMascotaWM(ent)); }
public static int NoAdopcionMascotaWM(EMascota ent) { return(DMascota.NoAdopcionMascotaWM(ent)); }
public static string InsertarFotoMascotaWM(EMascota ent) { return(DMascota.InsertarFotoMascotaWM(ent)); }