public function postDelete() { $response = $this->uploadRepository->delete(\Input::get('id')); return $response; }
public function postDelete(Request $request) { $response = $this->uploadRepository->delete($request->input('id')); return $response; }