예제 #1
0
        public static List <string> OnSubmit(string tipoGastoID)
        {
            ExpensasEntities context    = new ExpensasEntities();
            gastosServ       gastosServ = new gastosServ(context);

            var gastos = gastosServ.GetDetalleGastos(Convert.ToInt32(tipoGastoID), string.Empty).ToList();

            return(gastos.Select(i => i.Detalle).ToList());
        }
예제 #2
0
        public ExpensaUFNueva()
        {
            ExpensasEntities context = new ExpensasEntities();

            _expensasServ     = new expensasServ(context);
            _gastosServ       = new gastosServ(context);
            _pagosServ        = new pagosServ(context);
            _unidadesFuncServ = new unidadesFuncionalesServ();
            _pagosNeg         = new pagosNeg(_pagosServ);
        }
예제 #3
0
        public Gastos()
        {
            ExpensasEntities context = new ExpensasEntities();

            _gastosServ = new gastosServ(context);
        }