Beispiel #1
0
        public object GetEmployeeDetails(string EmployeeId)
        {
            JsonResponse response    = new JsonResponse();
            BLLEmployee  bllEmployee = new BLLEmployee();

            response = bllEmployee.GetEmployeeDetails(EmployeeId);
            return(JsonUtility.Serialize(response));
        }
 // GET api/employeedetails
 public BOEmployeeList Get()
 {
     try
     {
         return(BLLEmployee.GetEmployeeDetails());
     }
     catch (Exception)
     {
         return(new BOEmployeeList());
     }
 }