예제 #1
0
 public async Task <IHttpActionResult> Get(long id)
 {
     try
     {
         return(Ok((await _service.Get(id))));
     }
     catch (Exception)
     {
         throw;
     }
 }