public IHttpActionResult Get() { try { return(Ok(_employeedetailService.GetEmployeeDetails())); } catch (Exception ex) { throw new ArgumentException(ex.Message); } }