public string ModificarGasto(int id_Expense, DateTime fecha, string detalle, string total) { Gasto modificarProducto = new Gasto(id_Expense, fecha, detalle, total); using (ServicioGasto elProducto = new ServicioGasto()) return(elProducto.ModificarProducto(modificarProducto)); }
public string InsertarGasto(DateTime fecha, string detalle, string total) { Gasto nuevoGasto = new Gasto(fecha, detalle, total); using (ServicioGasto elGasto = new ServicioGasto()) return(elGasto.InsertarGasto(nuevoGasto)); }
public DataSet GetexpenseByDate(string Fecha1, string Fecha2) { using (ServicioGasto elGasto = new ServicioGasto()) return(elGasto.GetexpenseByDate(Fecha1, Fecha2)); }
/// <summary> /// Metodo Listar Productos /// </summary> /// <returns></returns> public DataTable ListarGastos() { using (ServicioGasto elGasto = new ServicioGasto()) return(elGasto.ListarProductos()); }