コード例 #1
0
 public IHttpActionResult Get()
 {
     try
     {
         return(Ok(_employeedetailService.GetEmployeeDetails()));
     }
     catch (Exception ex)
     {
         throw new ArgumentException(ex.Message);
     }
 }