So I have managed to get the object I want to delete through my method, however I am not sure how I would go about deleting it - I have spent the last thirty minutes going through the documentation and looking on here but just can't seem how to do it. So far I have this in my controller:
destroy : function(component, evt, helper) {
var expense = component.get("v.expense");
}
I was wondering how I would destroy this instance.
PS
I understand that I need more experience but I like to jump into things and find things out for myself plus it makes me research and read about a variety of things finding out the issue.