public function saveUmbrella(DUmbrella $umb)
 {
     $line = $umb->getRow();
     $number = $umb->getNumber();
     $type = $umb->getType();
     $query = "insert into umbrella(line,number,type) values('{$line}','{$number}','{$type}' )";
     $temp = $this->query($query);
     if ($temp) {
         return true;
     } else {
         throw new Exception("Query Failed saveUmbrella FUmbrella");
     }
 }
 public function deleteRent(DUmbrella $umb, $sdate)
 {
     $row = $umb->getRow();
     $number = $umb->getNumber();
     $sdate = $sdate->format('y-m-d');
     $query = "delete from rent where linUmb = '{$row}' and numUmb='{$number}' and startDate='{$sdate}'";
     $temp = $this->query($query);
     if ($temp) {
         return true;
     } else {
         return false;
     }
 }