Ejemplo n.º 1
0
        public Ingreso AddIngreso(Ingreso ingreso)
        {
            context.Ingresos.Add(ingreso);
            context.SaveChanges();

            return(ingreso);
        }
Ejemplo n.º 2
0
        public Fuente AddFuente(Fuente fuente)
        {
            context.Fuentes.Add(fuente);
            context.SaveChanges();

            return(fuente);
        }
Ejemplo n.º 3
0
        public Gasto AddGasto(Gasto gasto)
        {
            context.Gastos.Add(gasto);
            context.SaveChanges();

            return(gasto);
        }
Ejemplo n.º 4
0
        public Servicio AddServicio(Servicio servicio)
        {
            context.Servicios.Add(servicio);
            context.SaveChanges();

            return(servicio);
        }