private static void getRecordsThroDBComponent()
        {
            var records = new EmpDBComponent().GetAllEmployees();

            foreach (Employee emp in records)
            {
                Console.WriteLine(emp);
            }
        }
        private static void insertThroDBComponent()
        {
            IDBComponent com = new EmpDBComponent();

            try
            {
                com.AddEmployee(new Employee
                {
                    EmpID      = 6,
                    Empname    = "JoyDip Mondal",
                    EmpAddress = "Kolkata",
                    EmpSalary  = 40000,
                    PhoneNo    = 432475545
                });
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }