public int addEmployee(String fname, String lname, String email)
            throws ServletException {
		//TODO implement method that adds an employee to repository
		//This method should check that email is not used by other employees
        if (fname.equals("") || lname.equals("") || email.equals("")){
            throw new ServletException("Вы не заполнили все поля");
        }
        int count = 0;
            for (Employee empl : getAllEmployees()) {
                if (empl.getEmail().equals(email)) {
                    throw new IncorrectEmailException("Такой email существует");
                }
            }
        Dbase.execInsert("Insert into EMPLOYEES (NAME,FAMILY,EMAIL)values('" +
                lname + "','" +
                fname + "','" +
                email + "')");
		return 1;
	}