コード例 #1
0
 public async Task <IEnumerable <Unit> > GetAllUnits()
 {
     try {
         return(await MeasurementManager.GetAllUnits());
     }
     catch {
         throw new HttpResponseException(HttpStatusCode.NotFound);
     }
 }