Beispiel #1
0
        public static int Add(ExpenseRecords expenseRecords, ExpenseTypes expenseTypes)
        {
            int retvalue = -1;

            expenseRecords.ExpenseTypesId = ExpenseTypes.Add(expenseTypes);
            retvalue = ExpenseRecords.Add(expenseRecords);

            return(retvalue);
        }
Beispiel #2
0
 public static void Update(int Id, ExpenseRecords expenserecords, ExpenseTypes expensetypes)
 {
     expenserecords.ExpenseTypesId = ExpenseTypes.Add(expensetypes);
     ExpenseRecords.Update(Id, expenserecords);
 }