public IHttpActionResult ViewOneEmployeeDetails(int EmployeeId) { ACRF_EmployeeDetailsModel objList = new ACRF_EmployeeDetailsModel(); try { objList = objEmployeeDetailsVM.GetOneEmployeeDetails(EmployeeId); } catch (Exception ex) { ErrorHandlerClass.LogError(ex); } return(Ok(new { results = objList })); }