public with sharing class expansesController {
    @AuraEnabled
    public static List<Expense__c> getExpenses() {

        // Perform isAccessible() check here
        return [SELECT Id, Name, Amount__c, Client__c, Date__c,
        Reimbursed__c, CreatedDate FROM Expense__c];
    }
    @AuraEnabled
	public static Expense__c saveExpense(Expense__c expense) {

    // Perform isUpdateable() check here
    upsert expense;
    return expense;
}
}