コード例 #1
0
ファイル: TasksController.cs プロジェクト: timiles/Syringe
 public BatchStatus GetBatchStatus(int batchId)
 {
     try
     {
         return(_batchManager.GetBatchStatus(batchId));
     }
     catch (KeyNotFoundException)
     {
         throw new HttpResponseException(HttpStatusCode.NotFound);
     }
 }