Commit bfcee8d9 authored by Georgios Tsakalos's avatar Georgios Tsakalos

add remove software method - update interface

parent ab2992e8
......@@ -89,6 +89,11 @@ class SoftwareService implements SoftwareServiceInterface
return $software->exportAll();
}
public function removeSoftware($id)
{
R::trash('software', $id);
}
private function exportAll($beans)
{
$exported = [];
......
......@@ -20,5 +20,6 @@ interface SoftwareServiceInterface
public function getSoftwareById($id);
public function getSoftwareBySchoolId($id);
public function getSoftwareByLabId($id);
public function removeSoftware($id);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment