Exemple #1
0
 public async Task UpdateTypeProduit(Guid id, UpdateTypeProduit typeProduit)
 {
     try
     {
         await _stockApi.UpdateTypeProduit(id, typeProduit);
     }
     catch (ApiException e)
     {
         throw new StockApiException(e.Message);
     }
     catch (Exception e)
     {
         _logger.LogError(e.Message);
         throw;
     }
 }