예제 #1
0
 public async Task CreateTypeProduit(CreateTypeProduit typeProduit)
 {
     try
     {
         await _stockApi.CreateTypeProduit(typeProduit);
     }
     catch (ApiException e)
     {
         throw new StockApiException(e.Message);
     }
     catch (Exception e)
     {
         _logger.LogError(e.Message);
         throw;
     }
 }