Solution controller refactored not to repeat code
Transaction deleted because datamapper already supports it