Skip to content

MIhajloS07/EmployeeManagerXML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Management Console App

image
image
image image

Example of the application in console view.

Description

This console application allows you to create, read, update, and delete employees (CRUD) using an XML file as a simple database.
It is built with C# and demonstrates practical usage of XML manipulation and basic CRUD operations.

Key Features

  • Create: Add employees with automatically generated IDs
  • Read: Display a list of all employees
  • Update: Update employee details (name, age, role)
  • Delete: Remove employees by ID
  • Sort employees by ID
  • Clean and simple console UI

Technologies Used

  • C# (.NET)
  • XML for data storage
  • Git / GitHub for version control

Installation

  1. Clone the repository:
git clone https://github.com/USERNAME/REPO_NAME.git

Usage

After running the application, you can manage employees using the following console commands:

CRUD Operations

Operation Command Description
Create /add Add a new employee
Read /show Display all employees
Update /update -fullname Update an employee's full name
Update /update -age Update an employee's age
Update /update -role Update an employee's role
Delete /delete Remove an employee by ID

Other Useful Commands

Command Description
/save Save all employee data to XML
/sort Sort and reassign employee IDs
/help Display help menu
/clear Clear the console
/exit Exit the application

Example Workflow

1. Add an employee

> /add
Enter full name: John Doe
Enter age: 25
Enter role: Developer
Employee John Doe added.

Releases

No releases published

Packages

 
 
 

Contributors

Languages