// Loading the initial data private List <PermanentEmployee> LoadPermamentEmployeefromDatabase() { for (int i = 0; i < 5; i++) { PermanentEmployee permanent = employeeFactory.GetPermamentEmploye(); permanent.ID = "EMP00" + i.ToString(); permanent.Name = "EMPNAME -" + i.ToString(); permanent.Age = 30; permanent.Desgination = "Designation -" + i.ToString(); permanent.BasicPay = 1000.60 * (i + 1); _PermamentempList.Add(permanent); } return(_PermamentempList); }