public JsonResult GetEmployeesDepandants(int id) { Depandants_Property dpndnt = new Depandants_Property(); dpndnt.Employee_Primary_Id = id; objEmployeeBll = new Employee_BLL(dpndnt); DataTable depandants = objEmployeeBll.SelectDepandant(); var EmployeeDepandant = JsonConvert.SerializeObject(depandants); var deserilize = JsonConvert.DeserializeObject(EmployeeDepandant); return(Json(new { Employee = EmployeeDepandant }, JsonRequestBehavior.AllowGet)); }
public Employee_BLL(Depandants_Property depandant) { objdepandant = depandant; }
public Employee_DAL(Depandants_Property dpndnt) { objdepandant = dpndnt; }