app/Http/Controllers/ExpenseController.php
/**
     * Remove the specified resource from storage.
     *
     * @param Expense $expense
     * @return JsonResponse
     */
Remove the specified resource from storage.
@param Expense $expense
@return JsonResponse
Remove the specified resource from storage . @param Expense $expense @return JsonResponse
public function destroy(Expense $expense)
    {
        if ($expense->delete())
            return Helper::response_with_data(null, false);
        return Helper::response_with_data(null, true);
    }
public function destroy ( Expense $ expense ) { if ( $ expense -> delete ( ) ) return Helper :: response_with_data ( null , false ) ; return Helper :: response_with_data ( null , true ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .