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)); }