//Delete Employee
 public string DeleteEmployee(EmployeeInfo objEmployee)
 {
     _db.Remove(objEmployee);
     _db.SaveChanges();
     return("Delete Successfully");
 }
        //Get Employee by Id
        public EmployeeInfo GetEmployeeById(int id)
        {
            EmployeeInfo employee = _db.Employees.FirstOrDefault(s => s.Id == id);

            return(employee);
        }
 //Update Employee Info
 public string UpdateEmployee(EmployeeInfo objEmployee)
 {
     _db.Employees.Update(objEmployee);
     _db.SaveChanges();
     return("Update Successfully");
 }
 public string Create(EmployeeInfo objEmployee)
 {
     _db.Employees.Add(objEmployee);
     _db.SaveChanges();
     return("Save Successfully");
 }