public function createNewEmployee(array $data)
 {
     $employee = new Application_Model_Employees();
     $employee->__set("firstname", $data['firstname']);
     $employee->__set("lastname", $data['lastname']);
     $this->getMapper()->save($employee);
     $this->setFlag(true)->setMsg("success", "Employee Added!");
     return $this->getResult();
 }
 public function delete(Application_Model_Employees $employee)
 {
     if ($employee) {
         $id = $employee->__get("id");
         $data = array("active" => 0);
         $where = $this->_dbTable->getAdapter()->quoteInto("id=?", $id);
         $this->_dbTable->update($data, $where);
     }
 }