public int Add(int categoryId, string name) { Data.ExpenseType dataExpenseType; int result; dataExpenseType = new Data.ExpenseType(); result = dataExpenseType.Add(categoryId, name); dataExpenseType.Dispose(); return result; }