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()); }
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); }
public Gastos() { ExpensasEntities context = new ExpensasEntities(); _gastosServ = new gastosServ(context); }