/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $financing = Financing::find($id);
     if (!is_null($financing)) {
         if ($financing->delete()) {
             return Redirect::route('admin.financings.index')->withErrors(array('mainSuccess' => 'Финансирането е успешно изтрит.'));
         } else {
             return Redirect::route('admin.financings.index')->withErrors(array('mainError' => 'Грешка с базата данни.'));
         }
     } else {
         return Redirect::route('admin.financings.index')->withErrors(array('mainError' => 'Финансирането не е намерен.'));
     }
 }