Esempio n. 1
0
        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));
        }
Esempio n. 2
0
 public Employee_BLL(Depandants_Property depandant)
 {
     objdepandant = depandant;
 }
Esempio n. 3
0
 public Employee_DAL(Depandants_Property dpndnt)
 {
     objdepandant = dpndnt;
 }