コード例 #1
0
 public ActionResult getResponse(int id)
 {
     try
     {
         Responses response = _responsesService.Get(_ => _.Id == id);
         return(Ok(response));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }