protected void loadEmployeeDetail()
        {
            BLLEmployee objbllRelType = new BLLEmployee();;

            GridView1.DataSource = objbllRelType.GetEmployee(1);
            GridView1.DataBind();
        }
示例#2
0
        public object GetEmployee()
        {
            JsonResponse response    = new JsonResponse();
            BLLEmployee  bllEmployee = new BLLEmployee();

            response = bllEmployee.GetEmployee();
            return(JsonUtility.Serialize(response));
        }
示例#3
0
 // GET api/employee/5
 public BOEmployee Get(int id)
 {
     try
     {
         return(BLLEmployee.GetEmployee(id));
     }
     catch (Exception)
     {
         return(new BOEmployee());
     }
 }