private void GetEmployee() { List <Employee> customers = EmployeeBAL.GetEmployee(Request.QueryString); if ((customers != null) && customers.Count > 0) { Response.Write(customers.ToJSON()); } else { Response.Write("No Result"); } }